summaryrefslogtreecommitdiff
path: root/print-ether.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-08 12:36:46 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-08 12:36:46 +0100
commit19a7707e79c1b3191ada3725f69cfd6c640cfb5c (patch)
treedbb78d58c25e7eda377db3f28c9881e5e989a867 /print-ether.c
parent2c5d114baad38ed5e7b3d6f93a86925e2f2fc242 (diff)
downloadtcpdump-19a7707e79c1b3191ada3725f69cfd6c640cfb5c.tar.gz
Ethernet: Rename a printer
Rename ether_print_switch_tag() to ether_switch_tag_print(), with _print suffix like in most similar cases.
Diffstat (limited to 'print-ether.c')
-rw-r--r--print-ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ether.c b/print-ether.c
index 74479ccf..eed66ace 100644
--- a/print-ether.c
+++ b/print-ether.c
@@ -375,7 +375,7 @@ recurse:
* FIXME: caplen can and should be derived from ndo->ndo_snapend and p.
*/
u_int
-ether_print_switch_tag(netdissect_options *ndo, const u_char *p, u_int length,
+ether_switch_tag_print(netdissect_options *ndo, const u_char *p, u_int length,
u_int caplen,
void (*print_switch_tag)(netdissect_options *, const u_char *),
u_int switch_tag_len)