Module: kamailio
Branch: master
Commit: 9fd0cae960b0795a5e511c37f768f0962b7a15c1
URL:
https://github.com/kamailio/kamailio/commit/9fd0cae960b0795a5e511c37f768f09…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-04-28T13:10:23+02:00
lrkproxy: init value for compiler warning
---
Modified: src/modules/lrkproxy/lrkproxy.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9fd0cae960b0795a5e511c37f768f09…
Patch:
https://github.com/kamailio/kamailio/commit/9fd0cae960b0795a5e511c37f768f09…
---
diff --git a/src/modules/lrkproxy/lrkproxy.c b/src/modules/lrkproxy/lrkproxy.c
index e30f4e976b..157048c350 100644
--- a/src/modules/lrkproxy/lrkproxy.c
+++ b/src/modules/lrkproxy/lrkproxy.c
@@ -1284,7 +1284,7 @@ static int change_media_sdp(sip_msg_t *msg, struct
lrkproxy_hash_entry *e, const
e->snat_ipv4.len = strlen(e->snat_ipv4.s);
str current_port;
- unsigned int snat_port;
+ unsigned int snat_port = 0;
str2int(&e->dst_port, &snat_port);