summaryrefslogtreecommitdiff
path: root/print-ospf6.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-ospf6.c')
-rw-r--r--print-ospf6.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/print-ospf6.c b/print-ospf6.c
index 29014d74..1b862b30 100644
--- a/print-ospf6.c
+++ b/print-ospf6.c
@@ -391,11 +391,11 @@ ospf6_print_lshdr(netdissect_options *ndo,
if ((const u_char *)(lshp + 1) > dataend)
goto trunc;
- ND_PRINT("\n\t Advertising Router %s, seq 0x%08x, age %us, length %u",
- GET_IPADDR_STRING(lshp->ls_router),
- GET_BE_U_4(lshp->ls_seq),
- GET_BE_U_2(lshp->ls_age),
- GET_BE_U_2(lshp->ls_length)-(u_int)sizeof(struct lsa6_hdr));
+ ND_PRINT("\n\t Advertising Router %s, seq 0x%08x, age %us, length %zu",
+ GET_IPADDR_STRING(lshp->ls_router),
+ GET_BE_U_4(lshp->ls_seq),
+ GET_BE_U_2(lshp->ls_age),
+ GET_BE_U_2(lshp->ls_length)-sizeof(struct lsa6_hdr));
ospf6_print_ls_type(ndo, GET_BE_U_2(lshp->ls_type),
&lshp->ls_stateid);