Make sure we use AF_INET
authorMark Spencer <markster@digium.com>
Sun, 8 Aug 2004 04:49:43 +0000 (04:49 +0000)
committerMark Spencer <markster@digium.com>
Sun, 8 Aug 2004 04:49:43 +0000 (04:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3595 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 27de390..28954cd 100755 (executable)
@@ -8050,6 +8050,7 @@ static struct sip_peer *build_peer(char *name, struct ast_variable *v)
                }
                oldha = peer->ha;
                peer->ha = NULL;
+               peer->addr.sin_family = AF_INET;
                peer->capability = global_capability;
                /* Assume can reinvite */
                peer->canreinvite = global_canreinvite;