From 0636ecf91357b749370170716e0c4cd494bcea84 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Thu, 23 May 2019 11:20:16 +0200 Subject: Arista: Rename a printer Rename arista_print_ethertype() to arista_ethertype_print(), with _print suffix like in most similar cases. Moreover: Add a 'summary' comment with the protocol name. --- print-arista.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'print-arista.c') diff --git a/print-arista.c b/print-arista.c index 38dd724a..ce0adc10 100644 --- a/print-arista.c +++ b/print-arista.c @@ -1,5 +1,7 @@ // Copyright (c) 2018 Arista Networks, Inc. All rights reserved. +/* \summary: EtherType protocol for Arista Networks printer */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -19,7 +21,7 @@ #define ARISTA_TIMESTAMP_V2 0x20 int -arista_print_ethertype(netdissect_options *ndo, const u_char *bp, u_int len _U_) +arista_ethertype_print(netdissect_options *ndo, const u_char *bp, u_int len _U_) { uint16_t subTypeId; uint16_t version; -- cgit v1.2.1