diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-12-11 00:50:15 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-12-11 00:50:15 -0800 |
commit | 2de3a27ab75415237de96d2539e86b959ad0a9d0 (patch) | |
tree | 1e238eb04ec86a90dab18b6d341bdee8f3812a9d /print-ip6.c | |
parent | d8bf24c8743edcd257e2e76b1ed15a2b49208051 (diff) | |
download | tcpdump-2de3a27ab75415237de96d2539e86b959ad0a9d0.tar.gz |
Have all Internet-checksum computing routines return a uint16_t.
Those checksums are 16-bit; change the return types of those routines
appropriately.
Diffstat (limited to 'print-ip6.c')
-rw-r--r-- | print-ip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ip6.c b/print-ip6.c index 4f0618a3..faffb4a2 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -157,7 +157,7 @@ trunc: /* * Compute a V6-style checksum by building a pseudoheader. */ -int +uint16_t nextproto6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, const uint8_t *data, u_int len, u_int covlen, u_int next_proto) |