]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix port parsing for IPv6 addresses in SIP Via headers. 00/1400/1
authorFlorian Sauerteig <ffs@ccn.net>
Tue, 6 Oct 2015 17:40:22 +0000 (19:40 +0200)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 6 Oct 2015 21:34:34 +0000 (16:34 -0500)
commit3ec9cf7d6abf589ebca8d56c5e7800b73b825eb1
tree54c687f08d6b5200fb6b38a323c375fb6617809f
parent52f413f7096b4c6b9cc577aad60b6442e926508d
chan_sip: Fix port parsing for IPv6 addresses in SIP Via headers.

If a Via header containes an IPv6 address and a port number is ommitted,
as it is the standard port, we now leave the port empty and to not set it
to the value after the first colon of the IPv6 address.

ASTERISK-25443 #close

Change-Id: Ie3c2f05471cd006bf04ed15598589c09577b1e70
channels/sip/reqresp_parser.c