summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-ipx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-ipx.c b/print-ipx.c
index f1ef218e..72e2280e 100644
--- a/print-ipx.c
+++ b/print-ipx.c
@@ -76,7 +76,7 @@ ipx_print(netdissect_options *ndo, const u_char *p, u_int length)
if (!ndo->ndo_eflag)
ND_PRINT("IPX ");
- ND_TCHECK(ipx->srcSkt);
+ ND_TCHECK_2(ipx->srcSkt);
ND_PRINT("%s.%04x > ",
ipxaddr_string(EXTRACT_BE_U_4(ipx->srcNet), ipx->srcNode),
EXTRACT_BE_U_2(ipx->srcSkt));
@@ -86,7 +86,7 @@ ipx_print(netdissect_options *ndo, const u_char *p, u_int length)
EXTRACT_BE_U_2(ipx->dstSkt));
/* take length from ipx header */
- ND_TCHECK(ipx->length);
+ ND_TCHECK_2(ipx->length);
length = EXTRACT_BE_U_2(ipx->length);
ipx_decode(ndo, ipx, p + ipxSize, length - ipxSize);