From 0c93b15d38b3f63047344fcb2ea920e73498bb3d Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 1 Aug 2020 14:05:59 +0200 Subject: Rework "Update more link-layer dissectors to void functions" It's a follow-up to commit 81dbf4a0b05092760d0ff0cdd48c692e4769ba99. There is no need to update ether_print(), ether_common_print() and ether_switch_tag_print() to void functions: back to u_int functions. There is also no need to add a flag parameter to ether_print(), ether_common_print() and ether_switch_tag_print(): Remove it. --- print-bcm-li.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-bcm-li.c') diff --git a/print-bcm-li.c b/print-bcm-li.c index 32214127..0233c3cb 100644 --- a/print-bcm-li.c +++ b/print-bcm-li.c @@ -95,7 +95,7 @@ bcm_li_print(netdissect_options *ndo, const u_char *p, u_int length) switch (pkt_type) { case BCM_LI_PKT_TYPE_ETHERNET: - ether_print(ndo, bp, length, length, NULL, NULL, FALSE); + ether_print(ndo, bp, length, length, NULL, NULL); break; case BCM_LI_PKT_TYPE_IPV4: ip_print(ndo, bp, length); -- cgit v1.2.1