summaryrefslogtreecommitdiff
path: root/print.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-06 19:12:49 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-06 22:55:05 +0200
commitb30f3843b93c11e897e6d8888a91abf709a716ae (patch)
treef896ae7aeb0b456076d21243c3d130bedbeaf75b /print.h
parent0c93b15d38b3f63047344fcb2ea920e73498bb3d (diff)
downloadtcpdump-b30f3843b93c11e897e6d8888a91abf709a716ae.tar.gz
Apply the last step of the new way to update the link-layer header length
All the link-layer dissectors are now void functions. All the functions were moved to the void_printers[] array. Rename this array to printers[]. Remove the uint_printers[] array, now empty. Remove the 'ndo_void_printer' flag field, now useless, from netdissect_options. Remove other transitional code.
Diffstat (limited to 'print.h')
-rw-r--r--print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/print.h b/print.h
index 5e67b33a..9caba405 100644
--- a/print.h
+++ b/print.h
@@ -32,7 +32,7 @@ void init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask);
int has_printer(int type);
-if_printer_t get_if_printer(netdissect_options *ndo, int type);
+if_printer get_if_printer(int type);
void pretty_print_packet(netdissect_options *ndo,
const struct pcap_pkthdr *h, const u_char *sp,