[sr-dev] git:master:f9eaa129: core: do not set msg tcp connection id in the dst info

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 30 10:19:54 CEST 2020


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-03-30T10:19:29+02:00

core: do not set msg tcp connection id in the dst info

---

Modified: src/core/action.c

---

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

---

diff --git a/src/core/action.c b/src/core/action.c
index 633a38da16..cfb1bf934b 100644
--- a/src/core/action.c
+++ b/src/core/action.c
@@ -385,13 +385,11 @@ int do_action(struct run_act_ctx* h, struct action* a, struct sip_msg* msg)
 #ifdef USE_TCP
 			else if (a->type==FORWARD_TCP_T) {
 				dst.proto= PROTO_TCP;
-				dst.id = msg->otcpid;
 			}
 #endif
 #ifdef USE_TLS
 			else if (a->type==FORWARD_TLS_T) {
 				dst.proto= PROTO_TLS;
-				dst.id = msg->otcpid;
 			}
 #endif
 #ifdef USE_SCTP




More information about the sr-dev mailing list