]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-beep.c
CHANGES: Add/move change(s) backported to 4.99
[tcpdump] / print-beep.c
index 69bd8ec36c764eb84ed2f01766ef6ba94e0f4021..ec5b2f19e25769c25f511d586f23fa17dbe14542 100644 (file)
@@ -11,9 +11,7 @@
 
 /* \summary: Blocks Extensible Exchange Protocol (BEEP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#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))