chan_sip: Use AST_AF* defined constant when calling ast_get_ip
authorMatthew Jordan <mjordan@digium.com>
Tue, 5 Nov 2013 21:17:30 +0000 (21:17 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 5 Nov 2013 21:17:30 +0000 (21:17 +0000)
commit029ce1e962602c96e6135206631207c4556219d7
tree2f7d92ca14021a3637a0444a25983e6e161b29d6
parentf6bd22b0fd5846bdcfc6b01f480c9449e8bb364a
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.
........

Merged revisions 402507 from http://svn.asterisk.org/svn/asterisk/branches/12

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