]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msnlb.c
Regenerate config files.
[tcpdump] / print-msnlb.c
index 840892107a72af5fd3aac9c4fb19eeb8b4d28374..5264da496c9de753874c503bbc4c40c7aea8ac91 100644 (file)
  * SUCH DAMAGE.
  */
 
+/* \summary: MS Network Load Balancing's (NLB) heartbeat printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
 
@@ -50,7 +52,7 @@ msnlb_print(netdissect_options *ndo, const u_char *bp)
 {
        const struct msnlb_heartbeat_pkt *hb;
 
-       hb = (struct msnlb_heartbeat_pkt *)bp;
+       hb = (const struct msnlb_heartbeat_pkt *)bp;
        ND_TCHECK(*hb);
 
        ND_PRINT((ndo, "MS NLB heartbeat, host priority: %u,",