gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7784 - GNUnet/src/server


From: gnunet
Subject: [GNUnet-SVN] r7784 - GNUnet/src/server
Date: Tue, 14 Oct 2008 22:26:40 -0600 (MDT)

Author: grothoff
Date: 2008-10-14 22:26:40 -0600 (Tue, 14 Oct 2008)
New Revision: 7784

Modified:
   GNUnet/src/server/tcpserver.c
Log:
log

Modified: GNUnet/src/server/tcpserver.c
===================================================================
--- GNUnet/src/server/tcpserver.c       2008-10-14 18:14:31 UTC (rev 7783)
+++ GNUnet/src/server/tcpserver.c       2008-10-15 04:26:40 UTC (rev 7784)
@@ -124,7 +124,7 @@
     }
   GNUNET_GE_LOG (NULL,
                  GNUNET_GE_INFO | GNUNET_GE_USER | GNUNET_GE_REQUEST,
-                 "shutdown request accepted from client\n");
+                 "Shutdown request from client accepted.\n");
   ret = GNUNET_CORE_cs_send_result_to_client (client, GNUNET_OK);
   GNUNET_CORE_shutdown (cfg, 0);
   return ret;
@@ -191,7 +191,7 @@
         {
           GNUNET_GE_LOG (ectx,
                          GNUNET_GE_DEBUG | GNUNET_GE_ADMIN | GNUNET_GE_BULK,
-                         "Rejected connection from untrusted client");
+                         "Rejected connection from untrusted client\n");
           return NULL;
         }
     }
@@ -200,7 +200,12 @@
       a4 = (struct sockaddr_in *) addr;
       memcpy (&ip4, &a4->sin_addr, sizeof (struct in_addr));
       if (!isWhitelisted4 (&ip4))
-        return NULL;
+       {
+          GNUNET_GE_LOG (ectx,
+                         GNUNET_GE_DEBUG | GNUNET_GE_ADMIN | GNUNET_GE_BULK,
+                         "Rejected connection from untrusted client\n");
+         return NULL;
+       }
     }
   else
     {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]