[SR-Dev] git:master: mi_datagram: incremental rank for datagram listeners

Daniel-Constantin Mierla miconda at gmail.com
Sat Apr 18 18:35:27 CEST 2009


Module: sip-router
Branch: master
Commit: b29f52c3f69d71ce1663df309cb421248e2e50d2
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b29f52c3f69d71ce1663df309cb421248e2e50d2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat Apr 18 18:33:59 2009 +0200

mi_datagram: incremental rank for datagram listeners

---

 modules_k/mi_datagram/mi_datagram.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_k/mi_datagram/mi_datagram.c b/modules_k/mi_datagram/mi_datagram.c
index 000a0a3..e68a99a 100644
--- a/modules_k/mi_datagram/mi_datagram.c
+++ b/modules_k/mi_datagram/mi_datagram.c
@@ -282,7 +282,7 @@ static int mi_child_init(int rank)
 				return -1; /* error */
 			if(pid==0) {
 				/* child */
-				datagram_process(1);
+				datagram_process(i);
 				return 0;
 			}
 		}




More information about the sr-dev mailing list