[Olsr-dev] [PATCH v1 01/23] mdns: update a comment about exit
Ferry Huberts
(spam-protected)
Fri Nov 6 16:28:53 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
lib/mdns/src/mdns.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mdns/src/mdns.c b/lib/mdns/src/mdns.c
index 901892b..043922a 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
--
2.5.0
More information about the Olsr-dev
mailing list