Module: kamailio
Branch: 5.1
Commit: 9c4c8b14ddcb26b9514fb91f660b18ba12ea4572
URL:
https://github.com/kamailio/kamailio/commit/9c4c8b14ddcb26b9514fb91f660b18b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-08T16:54:56+01:00
core: select - init proto string to udp
(cherry picked from commit da31e70a2c63454dd7126d6ed47be977f36c73f0)
---
Modified: src/core/select_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9c4c8b14ddcb26b9514fb91f660b18b…
Patch:
https://github.com/kamailio/kamailio/commit/9c4c8b14ddcb26b9514fb91f660b18b…
---
diff --git a/src/core/select_core.c b/src/core/select_core.c
index d1f2ae7b4d..112dee489e 100644
--- a/src/core/select_core.c
+++ b/src/core/select_core.c
@@ -1286,7 +1286,7 @@ ABSTRACT_F(select_dst)
ABSTRACT_F(select_rcv)
int select_ip_port(str* res, select_t* s, struct sip_msg* msg)
{
- str ip_str=STR_NULL, port_str=STR_NULL, proto_str=STR_NULL;
+ str ip_str=STR_NULL, port_str=STR_NULL, proto_str=str_init("udp");
int param, pos;