summaryrefslogtreecommitdiffstats
path: root/print-ipx.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
commit7ba700b7f6e5fb17d280e2b8a3ae28866777715f (patch)
tree2f538ff3d975beabb6c371d999b1ee6e8b91cfb5 /print-ipx.c
parentReleasing progress-linux version 4.99.4-4~progress7.99u1. (diff)
downloadtcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.tar.xz
tcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.zip
Merging upstream version 4.99.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-ipx.c')
-rw-r--r--print-ipx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/print-ipx.c b/print-ipx.c
index f8c0ce7..ebe7c51 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;