X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/5f3ed93e68218d5585977f07a122e5c9e234b763..d6ec7b78c7d8fe7628f396ad1b4d96747dcf6af5:/print-sflow.c diff --git a/print-sflow.c b/print-sflow.c index 895d2546..22de02b7 100644 --- a/print-sflow.c +++ b/print-sflow.c @@ -21,9 +21,7 @@ /* specification: https://sflow.org/developers/specifications.php */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -690,7 +688,7 @@ sflow_print_flow_records(netdissect_options *ndo, sflow_flow_record = (const struct sflow_flow_record_t *)tptr; - /* so, the funky encoding means we cannot blythly mask-off + /* so, the funky encoding means we cannot blithely mask-off bits, we must also check the enterprise. */ enterprise = GET_BE_U_4(sflow_flow_record->format);