X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/513f782ae18791f0c925b9235da749b38159b607..c39d40a767a1ae36171e5bcbf6f157ff3e80fb6c:/print-beep.c diff --git a/print-beep.c b/print-beep.c index 09223ba1..76017eaf 100644 --- a/print-beep.c +++ b/print-beep.c @@ -12,7 +12,7 @@ /* \summary: Blocks Extensible Exchange Protocol (BEEP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include "netdissect-stdinc.h" @@ -49,6 +49,7 @@ void beep_print(netdissect_options *ndo, const u_char *bp, u_int length) { + ndo->ndo_protocol = "beep"; if (l_strnstart(ndo, "MSG", 4, (const char *)bp, length)) /* A REQuest */ ND_PRINT(" BEEP MSG"); else if (l_strnstart(ndo, "RPY ", 4, (const char *)bp, length))