Module: kamailio
Branch: master
Commit: 3c64668df34fb0708a34ae103d78c8884f8337cf
URL:
https://github.com/kamailio/kamailio/commit/3c64668df34fb0708a34ae103d78c88…
Author: Samuel <samuel_is_kewl(a)hotmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/3c64668df34fb0708a34ae103d78c88…
Patch:
https://github.com/kamailio/kamailio/commit/3c64668df34fb0708a34ae103d78c88…
---
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"),