]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-olsr.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-olsr.c
index cd96e95dfa1e4de0f1565f0ec7b2065b16922d59..09b6c74c5869b55acd39cb7d7626c4b8c3f8beee 100644 (file)
@@ -327,6 +327,7 @@ olsr_print(netdissect_options *ndo,
     uint8_t link_type, neighbor_type;
     const u_char *tptr, *msg_data;
 
+    ndo->ndo_protocol = "olsr";
     tptr = pptr;
 
     if (length < sizeof(struct olsr_common)) {