Module: kamailio Branch: master Commit: 2a65a83b05ab0e087db5d29c7f4d3af348402a9d URL: https://github.com/kamailio/kamailio/commit/2a65a83b05ab0e087db5d29c7f4d3af3...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2021-08-28T19:11:01+02:00
lcr: the new kemi exports require int parameter type
---
Modified: src/modules/lcr/lcr_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/2a65a83b05ab0e087db5d29c7f4d3af3... Patch: https://github.com/kamailio/kamailio/commit/2a65a83b05ab0e087db5d29c7f4d3af3...
---
diff --git a/src/modules/lcr/lcr_mod.c b/src/modules/lcr/lcr_mod.c index 657f5c14f2..21f05a4730 100644 --- a/src/modules/lcr/lcr_mod.c +++ b/src/modules/lcr/lcr_mod.c @@ -3068,7 +3068,7 @@ static int from_gw_1(struct sip_msg *_m, char *_lcr_id, char *_s2) * address, transport protocol and source port from parameters. */ static int ki_from_gw_addr_port( - sip_msg_t *_m, int lcr_id, str *addr_str, int transport, unsigned int src_port) + sip_msg_t *_m, int lcr_id, str *addr_str, int transport, int src_port) { struct ip_addr src_addr; struct ip_addr *ip; @@ -3147,7 +3147,7 @@ static int from_gw_4( str addr_str; char *tmp; uri_transport transport; - unsigned int src_port; + int src_port;
/* Get and check parameter values */ lcr_id = strtol(_lcr_id, &tmp, 10); @@ -3206,7 +3206,7 @@ static int from_any_gw_0(struct sip_msg *_m, char *_s1, char *_s2) * IP address, transport protocol and source port from parameters. */ static int ki_from_any_gw_addr_port(sip_msg_t *_m, str *addr_str, int transport, - unsigned int src_port) + int src_port) { unsigned int i; struct ip_addr *ip, src_addr; @@ -3273,7 +3273,7 @@ static int from_any_gw_3(struct sip_msg *_m, char *_addr, char *_transport, char { str addr_str; uri_transport transport; - unsigned int src_port; + int src_port; char *tmp;
/* Get and check parameter values */