diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-03 03:30:55 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-03 03:30:55 +0000 |
commit | 893eaf8d5c516fec9f8c74d7792198672c9ebd59 (patch) | |
tree | fee6d080ec7748365a63b6bfef785cf0d49fbdc3 /channels/chan_sip.c | |
parent | f02a06d64b0415c568e5131808d8fc3526a99e2f (diff) |
Fix typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@953 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 10f2075cf..e47a4ffc2 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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)); |