Make sure we use AF_INET

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-08-08 04:49:43 +00:00
parent 785eaf01b3
commit 916566ac11
1 changed files with 1 additions and 0 deletions

View File

@ -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;