summaryrefslogtreecommitdiff
path: root/print-eigrp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 21:32:07 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 21:32:07 +0100
commitd526e47658b691c4b5ca0d29759d1f67b7fb037b (patch)
tree942b58ab554e7812016cc349cec8ddf4c6a874e1 /print-eigrp.c
parent6e8e14d7fa7a73e8d42515eed917feff29ce9622 (diff)
downloadtcpdump-d526e47658b691c4b5ca0d29759d1f67b7fb037b.tar.gz
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (1/n)
Diffstat (limited to 'print-eigrp.c')
-rw-r--r--print-eigrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-eigrp.c b/print-eigrp.c
index d7260cd9..92c649b2 100644
--- a/print-eigrp.c
+++ b/print-eigrp.c
@@ -228,7 +228,7 @@ eigrp_print(netdissect_options *ndo, const u_char *pptr, u_int len)
tptr=pptr;
eigrp_com_header = (const struct eigrp_common_header *)pptr;
- ND_TCHECK(*eigrp_com_header);
+ ND_TCHECK_SIZE(eigrp_com_header);
/*
* Sanity checking of the header.