Module: sems Branch: master Commit: 7ca2497da077ac9f78075e12317666d24522b0be URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=7ca2497da077ac9f78075e12317666d24522b0be
Author: Szókovács Róbert <[email protected]> Committer: Szókovács Róbert <[email protected]> Date: Fri Oct 18 14:03:25 2013 +0200 now its possible to specify interface name for server_ip in the xmlrpc2di.conf the same way media_ip and co. in core --- apps/xmlrpc2di/XMLRPC2DI.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/apps/xmlrpc2di/XMLRPC2DI.cpp b/apps/xmlrpc2di/XMLRPC2DI.cpp index 5b9217f..7175f02 100644 --- a/apps/xmlrpc2di/XMLRPC2DI.cpp +++ b/apps/xmlrpc2di/XMLRPC2DI.cpp @@ -129,6 +129,8 @@ int XMLRPC2DI::load() { string bind_ip = cfg.getParameter("server_ip"); if (bind_ip.empty()) { DBG("binding on ANY interface\n"); + } else { + bind_ip = fixIface2IP(bind_ip, false); } string conf_xmlrpc_port = cfg.getParameter("xmlrpc_port",XMLRPC_PORT); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
