-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4563/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-18032
    https://issues.asterisk.org/jira/browse/ASTERISK-18032


Repository: Asterisk


Description
-------

When udpbindaddr=:: is set Asterisk accepts IPv4 and IPv6 clients both stored 
in a struct sockaddr_in6 with AF_INET6 family type. Current NAT code for IPv4 
checks if the socket type is AF_INET6 and thus fails to handle IPv4 mapped 
addresses properly. The patch adds an additional check for this case allowing 
IPv4 clients to be handled by NAT even when IPv6 is enabled.


Diffs
-----


Diff: https://reviewboard.asterisk.org/r/4563/diff/


Testing
-------

Patch solves the problem of failing incoming calls on a local NATed 
installation with IPv6 sockets enabled.


Thanks,

Valentin Vidić

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to