use the right variable to ensure it copied correctly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara 2004-10-14 05:29:55 +00:00
parent 34e4f69f84
commit 1dfc11aec9
1 changed files with 1 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ struct rtp_info *external_rtp_create(unsigned call_reference, const char * token
/* evil hack, until I (someone?) figures out a better way */
info->addr = ast_inet_ntoa(iabuf, sizeof(iabuf), bindaddr.sin_addr);
info->port = ntohs(us.sin_port);
ast_log(LOG_DEBUG, "Sending RTP 'US' %s:%d\n", iabuf, info->port);
ast_log(LOG_DEBUG, "Sending RTP 'US' %s:%d\n", info->addr, info->port);
return info;
}