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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2017-12-08T16:50:51+01:00

core: select - init proto string to udp

---

Modified: src/core/select_core.c

---

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

---

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;
        
 


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to