Mercurial > hg > quicktun
diff src/common.c @ 4:a989ecbd5f53
Fixed nacltai implementation
author | ivo <ivo@UFO-Net.nl> |
---|---|
date | Fri, 08 Oct 2010 18:18:05 +0200 |
parents | 27632fe319bd |
children | cf9b44b46be5 |
line wrap: on
line diff
--- a/src/common.c Thu Oct 07 16:04:53 2010 +0200 +++ b/src/common.c Fri Oct 08 18:18:05 2010 +0200 @@ -219,8 +219,7 @@ } else { len = p->decode(&session, buffer_enc, buffer_raw, len); if (len != 0 && session.remote_float != 0 && (session.remote_addr.sin_addr.s_addr != recvaddr.sin_addr.s_addr || session.remote_addr.sin_port != recvaddr.sin_port)) { - //fprintf(stderr, "Remote endpoint has changed to %s:%d", inet_ntoa(recvaddr.sin_addr), ntohs(recvaddr.sin_port)); - fprintf(stderr, "Remote endpoint has changed to %s:%d", 0, 0); + fprintf(stderr, "Remote endpoint has changed to %08X:%d\n", recvaddr.sin_addr, ntohs(recvaddr.sin_port)); session.remote_addr = recvaddr; session.remote_float = 2; }