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
1.2-netsec
Jeremy McNamara 21 years ago
parent 34e4f69f84
commit 1dfc11aec9

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

Loading…
Cancel
Save