X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/61f71d2046ced967e1bd998d41c68faf512f75ab..546558eabd81cfc36a81a4df728fdfea0d83b41a:/print-ascii.c?ds=sidebyside diff --git a/print-ascii.c b/print-ascii.c index 0c347bf0..78bced6a 100644 --- a/print-ascii.c +++ b/print-ascii.c @@ -62,6 +62,7 @@ ascii_print(netdissect_options *ndo, u_int caplength; u_char s; + ndo->ndo_protocol = "ascii"; caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; if (length > caplength) length = caplength;