From cf90c8176e713a2ef8db6c653f986bf4cb624e1f Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 11 Aug 2009 13:17:46 +0000 Subject: [PATCH] updated top supervisor for STUN support SVN Revision: 2459 --- src/ejabberd_sup.erl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ejabberd_sup.erl b/src/ejabberd_sup.erl index 6163dfee0..11c56037c 100644 --- a/src/ejabberd_sup.erl +++ b/src/ejabberd_sup.erl @@ -169,6 +169,14 @@ init([]) -> infinity, supervisor, [ejabberd_tmp_sup]}, + STUNSupervisor = + {ejabberd_stun_sup, + {ejabberd_tmp_sup, start_link, + [ejabberd_stun_sup, ejabberd_stun]}, + permanent, + infinity, + supervisor, + [ejabberd_tmp_sup]}, {ok, {{one_for_one, 10, 1}, [Hooks, NodeGroups, @@ -186,6 +194,7 @@ init([]) -> HTTPSupervisor, HTTPPollSupervisor, IQSupervisor, + STUNSupervisor, FrontendSocketSupervisor, Listener]}}.