Commit 50e9e8c7 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

UNDO: nta.c: adding rport to all via headers we have added received.

parent 6937c9b2
......@@ -2349,7 +2349,7 @@ int agent_check_request_via(nta_agent_t *agent,
if (!agent->sa_server_rport) {
else if (v->v_rport || (v->v_received && tport_is_udp(tport))) {
else if (v->v_rport) {
rport = su_sprintf(msg_home(msg), "rport=%u", ntohs(from->su_port));
msg_header_replace_param(msg_home(msg), v->v_common, rport);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment