]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix port parsing for IPv6 addresses in SIP Via headers. 99/1399/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:07 +0000 (16:34 -0500)
commitf939e2bd48598d721aa18af8182b7b6b91a9fe95
tree6a9641e52b51b7c48e5db5175e80f817a47f99f4
parent41b0e516e226b968ebc1af8b79bf38ede1b8c4a7
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