]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ospf.c
We also turn of *all* protocol name resolution with -n.
[tcpdump] / print-ospf.c
index 0e84e584dee7eca56201d9c9e8bb5b9e55a2e4d0..db4231ba0f85eec030c4fca34682cf4719c396dd 100644 (file)
@@ -21,6 +21,8 @@
  * OSPF support contributed by Jeffrey Honig ([email protected])
  */
 
+/* \summary: Open Shortest Path First (OSPF) printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -994,6 +996,7 @@ ospf_decode_v2(netdissect_options *ndo,
                break;
 
        case OSPF_TYPE_HELLO:
+               ND_TCHECK(op->ospf_hello.hello_options);
                ND_PRINT((ndo, "\n\tOptions [%s]",
                          bittok2str(ospf_option_values,"none",op->ospf_hello.hello_options)));