use the right variable to ensure it copied correctly
authorJeremy McNamara <jj@nufone.net>
Thu, 14 Oct 2004 05:29:55 +0000 (05:29 +0000)
committerJeremy McNamara <jj@nufone.net>
Thu, 14 Oct 2004 05:29:55 +0000 (05:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4000 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index 02f159b..d4b79e4 100755 (executable)
@@ -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;
 }