diff options
Diffstat (limited to 'freebsd/contrib/tcpdump/print-ospf.c')
-rw-r--r-- | freebsd/contrib/tcpdump/print-ospf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/contrib/tcpdump/print-ospf.c b/freebsd/contrib/tcpdump/print-ospf.c index 9343de12..0d3a9dd6 100644 --- a/freebsd/contrib/tcpdump/print-ospf.c +++ b/freebsd/contrib/tcpdump/print-ospf.c @@ -712,7 +712,7 @@ ospf_print_lsa(netdissect_options *ndo, while ((const u_char *)lp < ls_end) { register uint32_t ul; - ND_TCHECK(*lp); + ND_TCHECK_32BITS(lp); ul = EXTRACT_32BITS(lp); topology = (ul & SLA_MASK_TOS) >> SLA_SHIFT_TOS; ND_PRINT((ndo, "\n\t\ttopology %s (%u) metric %d", @@ -729,7 +729,7 @@ ospf_print_lsa(netdissect_options *ndo, while ((const u_char *)lp < ls_end) { register uint32_t ul; - ND_TCHECK(*lp); + ND_TCHECK_32BITS(lp); ul = EXTRACT_32BITS(lp); topology = (ul & SLA_MASK_TOS) >> SLA_SHIFT_TOS; ND_PRINT((ndo, "\n\t\ttopology %s (%u) metric %d", |