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

Author: Xenofon Karamanos <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2024-04-16T14:42:20+02:00

core/forward: Match protocol when forwarding

---

Modified: src/core/forward.h

---

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

---

diff --git a/src/core/forward.h b/src/core/forward.h
index 46bd3a36171..7b51e1a5559 100644
--- a/src/core/forward.h
+++ b/src/core/forward.h
@@ -189,7 +189,7 @@ static inline int msg_send_buffer(
                        if(tcp_connection_match == TCPCONN_MATCH_STRICT) {
                                con = tcpconn_lookup(dst->id, &ip, port, from,
                                                (dst->send_sock) ? 
dst->send_sock->port_no : 0, 0,
-                                               PROTO_NONE);
+                                               dst->proto);
                        } else {
                                con = tcpconn_get(dst->id, &ip, port, from, 0);
                        }

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to