Module: sip-router
Branch: pd/outbound
Commit: 2a4300284364c4be42b1e4262966d17e5a546799
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a43002…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Thu Mar 14 14:19:05 2013 +0000
modules/register: Fixed mod init check of flow_timer modparam
---
modules/registrar/reg_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/registrar/reg_mod.c b/modules/registrar/reg_mod.c
index 586e3cc..f07a44a 100644
--- a/modules/registrar/reg_mod.c
+++ b/modules/registrar/reg_mod.c
@@ -403,7 +403,7 @@ static int mod_init(void)
}
if (reg_flow_timer < 0 || reg_flow_timer > REG_FLOW_TIMER_MAX
- || (reg_flow_timer > 0 && reg_outbound_mode != REG_OUTBOUND_REQUIRE)) {
+ || (reg_flow_timer > 0 && reg_outbound_mode == REG_OUTBOUND_NONE)) {
LM_ERR("bad value for flow_timer\n");
return -1;
}