Module: kamailio Branch: 5.1 Commit: 9c4c8b14ddcb26b9514fb91f660b18ba12ea4572 URL: https://github.com/kamailio/kamailio/commit/9c4c8b14ddcb26b9514fb91f660b18ba12ea4572
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@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/9c4c8b14ddcb26b9514fb91f660b18ba12ea4572.diff Patch: https://github.com/kamailio/kamailio/commit/9c4c8b14ddcb26b9514fb91f660b18ba12ea4572.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 sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev