mdns: update a comment about exit
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 5 Nov 2015 22:20:12 +0000 (23:20 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 6 Nov 2015 15:26:22 +0000 (16:26 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/mdns/src/mdns.c

index 901892b..043922a 100644 (file)
@@ -152,7 +152,7 @@ PacketReceivedFromOLSR(unsigned char *encapsulationUdpData, int len)
         if(my_TTL_Check)
                ip6Header->ip6_hops = (uint8_t) 1; //setting up Hop Limit to 1 to avoid mdns packets flood
         }
-      // Sven-Ola: Don't know how to handle the "stripped_len is uninitialized" condition, maybe exit(1) is better...?
+      // Sven-Ola: Don't know how to handle the "stripped_len is uninitialized" condition, maybe olsr_exit is better...?
       if (0 == stripped_len) return;
       //TODO: if packet is not IP die here