diff --git a/src/core/action.c b/src/core/action.c index 633a38da16b..cfb1bf934b0 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