aboutsummaryrefslogtreecommitdiffstats
path: root/print-ospf6.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-ospf6.c')
-rw-r--r--print-ospf6.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-ospf6.c b/print-ospf6.c
index a5ac30517089..66ab2f75ff04 100644
--- a/print-ospf6.c
+++ b/print-ospf6.c
@@ -389,8 +389,7 @@ ospf6_print_lshdr(netdissect_options *ndo,
{
if ((const u_char *)(lshp + 1) > dataend)
goto trunc;
- ND_TCHECK(lshp->ls_type);
- ND_TCHECK(lshp->ls_seq);
+ ND_TCHECK(lshp->ls_length); /* last field of struct lsa6_hdr */
ND_PRINT((ndo, "\n\t Advertising Router %s, seq 0x%08x, age %us, length %u",
ipaddr_string(ndo, &lshp->ls_router),