]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Use AST_AF* defined constant when calling ast_get_ip
authorMatthew Jordan <mjordan@digium.com>
Tue, 5 Nov 2013 21:16:28 +0000 (21:16 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 5 Nov 2013 21:16:28 +0000 (21:16 +0000)
commit0d66d14d4d1987c306c762985acc2259710b34b9
tree6ebd591413021b9879ffd5d0bea599a31c15b695
parent3a6b76c69e919e5602f07d1d800532a353b671e8
chan_sip: Use AST_AF* defined constant when calling ast_get_ip

While the structure passed to ast_get_ip should be set memset to 0, thus
initializing the ss_family member to 0, explicitly setting it to AST_AF_UNSPEC
is more portable.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@402507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c