X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/941452b13284aacf521b48f87d8243b28fa541cf..refs/pull/1034/head:/print-token.c diff --git a/print-token.c b/print-token.c index 38f56eae..bcb72584 100644 --- a/print-token.c +++ b/print-token.c @@ -152,7 +152,7 @@ token_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen u_int route_len = 0, hdr_len = TOKEN_HDRLEN; int seg; - ndo->ndo_protocol = "token"; + ndo->ndo_protocol = "token-ring"; trp = (const struct token_header *)p; if (caplen < TOKEN_HDRLEN) { @@ -245,6 +245,6 @@ token_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen void token_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) { - ndo->ndo_protocol = "token"; + ndo->ndo_protocol = "token-ring"; ndo->ndo_ll_hdr_len += token_print(ndo, p, h->len, h->caplen); }