diff options
Diffstat (limited to 'chat/ejabberd/patches/patch-af')
-rw-r--r-- | chat/ejabberd/patches/patch-af | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/chat/ejabberd/patches/patch-af b/chat/ejabberd/patches/patch-af deleted file mode 100644 index ed0c27e215e..00000000000 --- a/chat/ejabberd/patches/patch-af +++ /dev/null @@ -1,25 +0,0 @@ -$NetBSD: patch-af,v 1.1 2008/11/12 13:13:59 martti Exp $ - -Modified to use IPv6/v4 patch (https://support.process-one.net/browse/EJAB-389) - ---- src/ejabberd_config.erl.orig 2008-08-27 12:37:52.000000000 +0300 -+++ src/ejabberd_config.erl -@@ -140,8 +140,16 @@ process_term(Term, State) -> - {host_config, Host, Terms} -> - lists:foldl(fun(T, S) -> process_host_term(T, Host, S) end, - State, Terms); -- {listen, Val} -> -- add_option(listen, Val, State); -+ {listen, Listeners} -> -+ Listeners2 = -+ lists:map( -+ fun({PortIP, Module, Opts}) -> -+ {Port, IPT, _, _, OptsClean} = -+ ejabberd_listener:parse_listener_portip(PortIP, Opts), -+ {{Port, IPT}, Module, OptsClean} -+ end, -+ Listeners), -+ add_option(listen, Listeners2, State); - {language, Val} -> - add_option(language, Val, State); - {outgoing_s2s_port, Port} -> |