diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2024-09-06 02:11:27 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2024-09-06 02:36:15 +0000 |
commit | 75d9de99aec2d9f3bdc495c91bbd6d7a2392e2a3 (patch) | |
tree | 99d6c086833d530e5d1d33a8128961f8149843f0 /print-ipx.c | |
parent | 51a183021fce3928d24b11c319d2787f5a15ae87 (diff) |
Diffstat (limited to 'print-ipx.c')
-rw-r--r-- | print-ipx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/print-ipx.c b/print-ipx.c index f8c0ce7c2213..ebe7c51b01c1 100644 --- a/print-ipx.c +++ b/print-ipx.c @@ -23,9 +23,7 @@ /* \summary: Novell IPX printer */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include "netdissect-stdinc.h" @@ -156,7 +154,7 @@ ipx_sap_print(netdissect_options *ndo, const u_char *ipx, u_int length) int command, i; command = GET_BE_U_2(ipx); - ND_LCHECK_U(length, 2); + ND_ICHECK_U(length, <, 2); ipx += 2; length -= 2; @@ -230,7 +228,7 @@ ipx_rip_print(netdissect_options *ndo, const u_char *ipx, u_int length) int command, i; command = GET_BE_U_2(ipx); - ND_LCHECK_U(length, 2); + ND_ICHECK_U(length, <, 2); ipx += 2; length -= 2; |