Fix typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@953 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
f02a06d64b
commit
893eaf8d5c
|
@ -4743,7 +4743,7 @@ static int sip_poke_peer(struct sip_peer *peer)
|
|||
if (strlen(p->tohost))
|
||||
strncpy(p->tohost, peer->tohost, sizeof(p->tohost) - 1);
|
||||
else
|
||||
snprintf(p->tohost, sizeof(p->tohost), "%s", inet_ntoa(p->addr.sin_addr));
|
||||
snprintf(p->tohost, sizeof(p->tohost), "%s", inet_ntoa(peer->addr.sin_addr));
|
||||
|
||||
/* Recalculate our side, and recalculate Call ID */
|
||||
memcpy(&p->ourip, myaddrfor(&p->sa.sin_addr), sizeof(p->ourip));
|
||||
|
|
Reference in New Issue