fail more gracefully
authorPhilipp Tölke <toelke@in.tum.de>
Fri, 29 Apr 2011 13:13:46 +0000 (13:13 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Fri, 29 Apr 2011 13:13:46 +0000 (13:13 +0000)
src/vpn/gnunet-daemon-exit.c

index 51629d3afded02b776d20eaeb1c2f6f36d103635..9ffa6886dedf6cbed8a61ac812ca2a64316c42aa 100644 (file)
@@ -338,7 +338,7 @@ tcp_from_helper (struct tcp_pkt *tcp, unsigned char *dadr, size_t addrlen,
   else
     {
       // This is an illegal packet.
-      GNUNET_assert (0);
+      return;
     }
   /* send tcp-packet back */
   len =