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

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

darcs-hash:20061004104233-65a35-577f13e34d96e964ada1736f50242100be710b97.gz
parent 6937c9b2
......@@ -2349,7 +2349,7 @@ int agent_check_request_via(nta_agent_t *agent,
if (!agent->sa_server_rport) {
/*Xyzzy*/;
}
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