[sr-dev] git:master:e4b7cd2a: core: kemi - function for branch flags with index have two int params

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 20 09:55:36 CET 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-19T21:50:25+01:00

core: kemi - function for branch flags with index have two int params

---

Modified: src/core/kemi.c

---

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

---

diff --git a/src/core/kemi.c b/src/core/kemi.c
index 0462c5dd8a..093fd4441f 100644
--- a/src/core/kemi.c
+++ b/src/core/kemi.c
@@ -561,17 +561,17 @@ static sr_kemi_t _sr_kemi_core[] = {
 	},
 	{ str_init(""), str_init("setbiflag"),
 		SR_KEMIP_BOOL, sr_kemi_core_setbiflag,
-		{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init(""), str_init("resetbiflag"),
 		SR_KEMIP_BOOL, sr_kemi_core_resetbiflag,
-		{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init(""), str_init("isbiflagset"),
 		SR_KEMIP_BOOL, sr_kemi_core_isbiflagset,
-		{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
+		{ SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
 	{ str_init(""), str_init("setsflag"),
@@ -1309,4 +1309,4 @@ str *sr_kemi_param_map_get_params(int *ptypes)
 	sret.s = pbuf;
 	sret.len = strlen(sret.s);
 	return &sret;
-}
\ No newline at end of file
+}




More information about the sr-dev mailing list