[sr-dev] git:5.3:2b8bf4fe: core: do not set msg tcp connection id in the dst info

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


Module: kamailio
Branch: 5.3
Commit: 2b8bf4fee656242eddc9bbc45bdb234d96eb518a
URL: https://github.com/kamailio/kamailio/commit/2b8bf4fee656242eddc9bbc45bdb234d96eb518a

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

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

(cherry picked from commit f9eaa1298f7263be53b709ab7b68336d09e9de0b)

---

Modified: src/core/action.c

---

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

---

diff --git a/src/core/action.c b/src/core/action.c
index 8211cf00f7..1520f87877 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