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-ip.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-ip.c')
-rw-r--r-- | print-ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ trunc: /* * Compute a V4-style checksum by building a pseudoheader. */ -int +uint16_t nextproto4_cksum(netdissect_options *ndo, const struct ip *ip, const uint8_t *data, u_int len, u_int covlen, u_int next_proto) |