X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e2982e7f6f0b624a773ec5a58885ee80fab46d34..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/print-beep.c?ds=sidebyside diff --git a/print-beep.c b/print-beep.c index 0dfd27a3..76017eaf 100644 --- a/print-beep.c +++ b/print-beep.c @@ -12,10 +12,10 @@ /* \summary: Blocks Extensible Exchange Protocol (BEEP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -#include +#include "netdissect-stdinc.h" #include @@ -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))