From: Francois-Xavier Le Bail Date: Sun, 7 Jan 2018 20:20:23 +0000 (+0100) Subject: IPv6 mobility: Use more ND_TTEST_n() macros X-Git-Tag: tcpdump-4.99-bp~1493 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/763aa0b5f18db18bdbff7e4ca126d67b0681e6b0 IPv6 mobility: Use more ND_TTEST_n() macros --- diff --git a/print-mobility.c b/print-mobility.c index bb56b9a4..6ac3f2c8 100644 --- a/print-mobility.c +++ b/print-mobility.c @@ -212,7 +212,7 @@ mobility_print(netdissect_options *ndo, /* 'ep' points to the end of available data. */ ep = ndo->ndo_snapend; - if (!ND_TTEST(mh->ip6m_len)) { + if (!ND_TTEST_1(mh->ip6m_len)) { /* * There's not enough captured data to include the * mobility header length.