commented
authorPhilipp Tölke <toelke@in.tum.de>
Wed, 15 Jun 2011 07:15:32 +0000 (07:15 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Wed, 15 Jun 2011 07:15:32 +0000 (07:15 +0000)
src/vpn/gnunet-daemon-exit.c

index 4530ccdcd65a79a7f10e2fdd71a9a28e87b1e70a..c999df8344ae0a77d072ef650da6c4c7f3e47ace 100644 (file)
@@ -273,6 +273,10 @@ udp_from_helper (struct udp_pkt *udp, unsigned char *dadr, size_t addrlen,
     }
   else
     {
+      /* otherwise the answer came from a different port (tftp does this)
+       * add this new port to the list of all services, so that the packets
+       * coming back from the client to this new port will be routed correctly
+       */
       struct redirect_service *serv =
         GNUNET_malloc (sizeof (struct redirect_service));
       memcpy (serv, state->serv, sizeof (struct redirect_service));