From 94f232c1ab0143c6da9fc00732b6b241b8abdf4c Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Sat, 14 Jan 2023 22:25:18 +0000 Subject: 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 --- print.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'print.c') diff --git a/print.c b/print.c index fbb1b3b1..123c842c 100644 --- a/print.c +++ b/print.c @@ -249,9 +249,7 @@ static const struct printer printers[] = { void init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask) { - init_addrtoname(ndo, localnet, mask); - init_checksum(); } if_printer -- cgit v1.2.1