Commit e420bcdd authored by Simon Morlat's avatar Simon Morlat
Browse files

use ip address from via if received is not there.

parent 1cb2b66c
......@@ -370,6 +370,7 @@ static int extract_received_rport(osip_message_t *msg, const char **received, in
rport=param->gvalue;
if (rport && rport[0]!='\0') *rportval=atoi(rport);
else *rportval=5060;
*received=via->host;
}
param=NULL;
osip_via_param_get_byname(via,"received",&param);
......
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