summaryrefslogtreecommitdiff
path: root/print-vrrp.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-26 15:47:29 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-26 15:49:27 +0400
commitb6303af682e72841f79ac6847f93b0cb0a49c549 (patch)
tree5f6b66aec2e811c806c5d5880000a0886c4bfb46 /print-vrrp.c
parentd6af516cbc7c874404cb07456a6e80a8e9ddd9b4 (diff)
downloadtcpdump-b6303af682e72841f79ac6847f93b0cb0a49c549.tar.gz
NDOize AODV, IPv4 and SCTP decoders
Diffstat (limited to 'print-vrrp.c')
-rw-r--r--print-vrrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-vrrp.c b/print-vrrp.c
index 27105bf5..0be12628 100644
--- a/print-vrrp.c
+++ b/print-vrrp.c
@@ -147,7 +147,7 @@ vrrp_print(netdissect_options *ndo,
}
if (version == 3 && ND_TTEST2(bp[0], len)) {
- u_int16_t cksum = nextproto4_cksum((struct ip *)bp2, bp,
+ u_int16_t cksum = nextproto4_cksum(ndo, (struct ip *)bp2, bp,
len, len, IPPROTO_VRRP);
if (cksum)
ND_PRINT((ndo, ", (bad vrrp cksum %x)",