From: Ferry Huberts Date: Thu, 5 Nov 2015 22:20:12 +0000 (+0100) Subject: mdns: update a comment about exit X-Git-Tag: v0.9.5~737 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=e21085a327cbb682ff91f8236800a79d9e9eb301;ds=sidebyside mdns: update a comment about exit Signed-off-by: Ferry Huberts --- diff --git a/lib/mdns/src/mdns.c b/lib/mdns/src/mdns.c index 901892b9..043922af 100644 --- a/lib/mdns/src/mdns.c +++ b/lib/mdns/src/mdns.c @@ -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