Module: kamailio
Branch: master
Commit: c3acb864688656ef57d5a0a5263556fcf67d09d4
URL:
https://github.com/kamailio/kamailio/commit/c3acb864688656ef57d5a0a5263556f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-08T13:48:48+02:00
rtpproxy: comment about child init rank filtering
---
Modified: modules/rtpproxy/rtpproxy.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c3acb864688656ef57d5a0a5263556f…
Patch:
https://github.com/kamailio/kamailio/commit/c3acb864688656ef57d5a0a5263556f…
---
diff --git a/modules/rtpproxy/rtpproxy.c b/modules/rtpproxy/rtpproxy.c
index a36d323..8e12bcc 100644
--- a/modules/rtpproxy/rtpproxy.c
+++ b/modules/rtpproxy/rtpproxy.c
@@ -862,6 +862,7 @@ child_init(int rank)
if(rtpp_set_list==NULL )
return 0;
+ /* do not init sockets for PROC_INIT and main process when fork=yes */
if(rank==PROC_INIT || (rank==PROC_MAIN && dont_fork==0)) {
return 0;
}