]> The Tcpdump Group git mirrors - tcpdump/commitdiff
ZEP: Assign ndo_protocol in lowercases like in most similar cases
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 11 Jun 2019 16:19:46 +0000 (18:19 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 11 Jun 2019 16:20:19 +0000 (18:20 +0200)
Moreover:
Use nd_print_protocol_caps() to print the protocol name.

print-zep.c

index dbe4b8ff1ba475c0b2b34dc9ec346d555a27218b..d49861062630251aae0ba5122136410451ac95f0 100644 (file)
@@ -105,9 +105,9 @@ zep_print(netdissect_options *ndo,
        uint8_t version, inner_len;
        uint32_t seq_no;
 
-       ndo->ndo_protocol ="ZEP";
+       ndo->ndo_protocol ="zep";
 
-       nd_print_protocol(ndo);
+       nd_print_protocol_caps(ndo);
 
        ND_TCHECK_LEN(bp, 8);