]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-beep.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-beep.c
index 09223ba1b6043859ef6f4c5a0146299ccaaa4daf..ec5b2f19e25769c25f511d586f23fa17dbe14542 100644 (file)
@@ -11,9 +11,7 @@
 
 /* \summary: Blocks Extensible Exchange Protocol (BEEP) printer */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include <config.h>
 
 #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))