X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..0023eaa78f123676bfa9c5fba72ea4b8a59aaa70:/print-beep.c diff --git a/print-beep.c b/print-beep.c index 69bd8ec3..ec5b2f19 100644 --- a/print-beep.c +++ b/print-beep.c @@ -11,9 +11,7 @@ /* \summary: Blocks Extensible Exchange Protocol (BEEP) printer */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -49,6 +47,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))