]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ospf6.c
the failed/passed count was not kept in the right place
[tcpdump] / print-ospf6.c
index cec67e1d91f9a2b69dcfc1605a5b4118f9405115..b50cd5cac21c0ab6872566386a86fb2062d315ac 100644 (file)
@@ -603,9 +603,9 @@ ospf6_print_lsa(netdissect_options *ndo,
                        if (lsa_length < sizeof (nd_ipv6))
                                return (1);
                        lsa_length -= sizeof (nd_ipv6);
-                       ND_TCHECK_8(tptr);
+                       ND_TCHECK_16(tptr);
                        ND_PRINT(" forward %s",
-                              ip6addr_string(ndo, tptr));
+                                ip6addr_string(ndo, tptr));
                        tptr += sizeof(nd_ipv6);
                }