diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2023-01-14 22:25:18 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2023-01-14 22:55:27 +0000 |
commit | 94f232c1ab0143c6da9fc00732b6b241b8abdf4c (patch) | |
tree | c53f0f7414dcc828b7e45d5c9ae089272cb7cb2a /netdissect.h | |
parent | bdece165acc8dd20b445938da7ac3770bd28b8ee (diff) | |
download | tcpdump-94f232c1ab0143c6da9fc00732b6b241b8abdf4c.tar.gz |
Remove init_crc10_table() and the entourage.
As Guy Harris points out in bug report GH #1022, the function has been a
busy no-op since commit e6c39e6 in 2010. While at it, fixup the Python
code to work on Python 3:
for i in range(len(crc_table)/8):
TypeError: 'float' object cannot be interpreted as an integer
Diffstat (limited to 'netdissect.h')
-rw-r--r-- | netdissect.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/netdissect.h b/netdissect.h index 24fda9e8..5762c584 100644 --- a/netdissect.h +++ b/netdissect.h @@ -764,7 +764,6 @@ extern void zmtp1_datagram_print(netdissect_options *, const u_char *, const u_i extern void zmtp1_print(netdissect_options *, const u_char *, u_int); /* checksum routines */ -extern void init_checksum(void); extern uint16_t verify_crc10_cksum(uint16_t, const u_char *, int); extern uint16_t create_osi_cksum(const uint8_t *, int, int); |