[ejabberd] interface address

Oleg V. Motienko mmm at ttn.ru
Fri May 7 19:50:40 MSD 2004


Hello!

If I need to bind only one interface address, I have to use dirty hack

--- ejabberd_listener.erl.orig  Wed Oct 29 23:09:07 2003
+++ ejabberd_listener.erl       Fri May  7 19:46:46 2004
@@ -53,7 +53,8 @@
                                               {packet, 0},
                                               {active, false},
                                               {reuseaddr, true},
-                                              {nodelay, true}]),
+                                              {nodelay, true},
+                                              {ifaddr,{11,22,33,44}}]),
     accept(ListenSocket, Module, Opts).
 
 accept(ListenSocket, Module, Opts) ->


Maybe there is an option in config file to set interface address?

-- 
Regards, Oleg
xmpp: mmm at jabber.ttn.ru



More information about the ejabberd mailing list