Module: sip-router
Branch: 4.0
Commit: d821224ff33e7f7c43c6598482ab0870f728e763
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d821224…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Sat Jul 6 20:22:41 2013 +0200
modules/nathelper: remove natping_proceses limit
(cherry picked from commit edb00b0566595b509a7cdf9a1c7455ce6ee6c4c8)
---
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 48f8dfd..262b758 100644
--- a/modules/nathelper/nathelper.c
+++ b/modules/nathelper/nathelper.c
@@ -669,9 +669,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;
}