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

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date:   Thu Jul 11 15:03:08 2013 +0200

modules/nathelper: removed natping_proceses limit

---

 modules/nathelper/nathelper.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/nathelper/nathelper.c b/modules/nathelper/nathelper.c
index cff54d8..7cccdc1 100644
--- a/modules/nathelper/nathelper.c
+++ b/modules/nathelper/nathelper.c
@@ -671,9 +671,8 @@ mod_init(void)
                                " set in usrloc module\n");
                        return -1;
                }
-               if (natping_processes>=8) {
-                       LM_ERR("too many natping processes (%d) max=8\n",
-                               natping_processes);
+               if (natping_processes<0) {
+                       LM_ERR("bad config - natping_processes must be >= 0\n");
                        return -1;
                }
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to