Module: kamailio
Branch: master
Commit: 7bd55ca760a2b1aed8da431b61370c750742ff84
URL:
https://github.com/kamailio/kamailio/commit/7bd55ca760a2b1aed8da431b61370c7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-08-26T10:37:38+02:00
ipops: exported KSR.ipops.is_in_subnet(...)
- match the function name from kamailio.cfg
- so far it was exported as KSR.ipops.ip_is_in_subnet(...)
---
Modified: src/modules/ipops/ipops_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7bd55ca760a2b1aed8da431b61370c7…
Patch:
https://github.com/kamailio/kamailio/commit/7bd55ca760a2b1aed8da431b61370c7…
---
diff --git a/src/modules/ipops/ipops_mod.c b/src/modules/ipops/ipops_mod.c
index 262f4a8494..ac55df7906 100644
--- a/src/modules/ipops/ipops_mod.c
+++ b/src/modules/ipops/ipops_mod.c
@@ -1418,6 +1418,11 @@ static sr_kemi_t sr_kemi_ipops_exports[] = {
{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
+ { str_init("ipops"), str_init("is_in_subnet"),
+ SR_KEMIP_INT, ki_ip_is_in_subnet,
+ { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
{ str_init("ipops"), str_init("is_ip_rfc1918"),
SR_KEMIP_INT, ki_is_ip_rfc1918,
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,