]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix port parsing for IPv6 addresses in SIP Via headers. 91/1391/2
authorFlorian Sauerteig <ffs@ccn.net>
Tue, 6 Oct 2015 17:40:22 +0000 (19:40 +0200)
committerMatt Jordan <mjordan@digium.com>
Tue, 6 Oct 2015 18:05:20 +0000 (13:05 -0500)
commit9354c1a64f567e552b3e0e376610a0503231275a
treece947c65de3f57b5fceaf18d36c3fdd70ce62a99
parent60a9172d7ef2b295d953ce95adc66ab1daf8f4bc
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