mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 04:43:50 +00:00
Fix typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4743,7 +4743,7 @@ static int sip_poke_peer(struct sip_peer *peer)
|
|||||||
if (strlen(p->tohost))
|
if (strlen(p->tohost))
|
||||||
strncpy(p->tohost, peer->tohost, sizeof(p->tohost) - 1);
|
strncpy(p->tohost, peer->tohost, sizeof(p->tohost) - 1);
|
||||||
else
|
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 */
|
/* Recalculate our side, and recalculate Call ID */
|
||||||
memcpy(&p->ourip, myaddrfor(&p->sa.sin_addr), sizeof(p->ourip));
|
memcpy(&p->ourip, myaddrfor(&p->sa.sin_addr), sizeof(p->ourip));
|
||||||
|
Reference in New Issue
Block a user