diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2019-10-07 10:58:05 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2019-10-07 10:58:18 +0900 |
commit | 9ceaf0d786e9465506271e8450248a57719e4eb1 (patch) | |
tree | c933215271ff7ec5c6b574198aa193e7c377f579 /print-ospf.c | |
parent | 68b0938829a42f1f5dbb099d79df2cae08bf9d73 (diff) | |
download | tcpdump-9ceaf0d786e9465506271e8450248a57719e4eb1.tar.gz tcpdump-9ceaf0d786e9465506271e8450248a57719e4eb1.tar.bz2 tcpdump-9ceaf0d786e9465506271e8450248a57719e4eb1.zip |
Imported Upstream version 4.9.3upstream/4.9.3upstream
Change-Id: I3cc0d412048588389bb26e10136fe244bd6b09ed
Diffstat (limited to 'print-ospf.c')
-rw-r--r-- | print-ospf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-ospf.c b/print-ospf.c index db4231b..4c09912 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -706,7 +706,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", @@ -723,7 +723,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", |