Corrected whoisrouter demo application that receives responses with many networks where the program was always printing the first one. Thank you, Martin!

This commit is contained in:
skarg
2009-03-06 11:11:49 +00:00
parent 75bd715bd4
commit 5feece5e5c
+1
View File
@@ -111,6 +111,7 @@ static void My_Router_Handler(
len = decode_unsigned16(&npdu[npdu_offset], &dnet);
printf("%hu", dnet);
npdu_len -= len;
npdu_offset += len;
if (npdu_len) {
printf(", ");
}