[sr-dev] git:master:3c64668d: nathelper: updating the exported expected parameters to match the functions

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 27 08:29:22 CET 2017


Module: kamailio
Branch: master
Commit: 3c64668df34fb0708a34ae103d78c8884f8337cf
URL: https://github.com/kamailio/kamailio/commit/3c64668df34fb0708a34ae103d78c8884f8337cf

Author: Samuel <samuel_is_kewl at hotmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-27T08:29:08+01:00

nathelper: updating the exported expected parameters to match the functions

- Mismatch between export and function declaration with regards to the quantity of parameters

---

Modified: src/modules/nathelper/nathelper.c

---

Diff:  https://github.com/kamailio/kamailio/commit/3c64668df34fb0708a34ae103d78c8884f8337cf.diff
Patch: https://github.com/kamailio/kamailio/commit/3c64668df34fb0708a34ae103d78c8884f8337cf.patch

---

diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c
index 5e7b82b617..440033db1a 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/src/modules/nathelper/nathelper.c
@@ -2394,7 +2394,7 @@ static sr_kemi_t sr_kemi_nathelper_exports[] = {
 	},
 	{ str_init("nathelper"), str_init("is_rfc1918"),
 		SR_KEMIP_INT, is_rfc1918,
-		{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init("nathelper"), str_init("add_contact_alias"),




More information about the sr-dev mailing list