[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4039 - GNUnet/src/transports
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4039 - GNUnet/src/transports |
Date: |
Sat, 23 Dec 2006 20:30:52 -0800 (PST) |
Author: grothoff
Date: 2006-12-23 20:30:51 -0800 (Sat, 23 Dec 2006)
New Revision: 4039
Modified:
GNUnet/src/transports/tcp.c
Log:
better messages
Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2006-12-24 04:28:37 UTC (rev 4038)
+++ GNUnet/src/transports/tcp.c 2006-12-24 04:30:51 UTC (rev 4039)
@@ -106,19 +106,12 @@
ip);
MUTEX_UNLOCK(tcpblacklistlock);
#if DEBUG_TCP
- if (ret != OK) {
- EncName enc;
-
- hash2enc(&helo->senderIdentity.hashPubKey,
- &enc);
+ if (ret != OK)
GE_LOG(ectx,
GE_DEBUG | GE_ADMIN | GE_BULK,
- "Rejecting connection from address %u.%u.%u.%u:%u (blacklisted)\n",
- PRIP(ntohl(*(int*)&haddr->ip)),
- ntohs(haddr->port));
- }
+ "Rejecting connection from address %u.%u.%u.%u (blacklisted)\n",
+ PRIP(ntohl(*(int*)addr)));
#endif
-
return ret;
}
@@ -157,9 +150,8 @@
#if DEBUG_TCP
GE_LOG(ectx,
GE_DEBUG | GE_ADMIN | GE_BULK,
- "Rejecting HELLO from address %u.%u.%u.%u:%u (not whitelisted)\n",
- PRIP(ntohl(*(int*)&haddr->ip)),
- ntohs(haddr->port));
+ "Rejecting HELLO from address %u.%u.%u.%u (not whitelisted)\n",
+ PRIP(ntohl(*(int*)addr)));
#endif
}
return ret;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4039 - GNUnet/src/transports,
grothoff <=