]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msnlb.c
NTP: Use tstr for truncation indicator.
[tcpdump] / print-msnlb.c
index fcd0006482687850fae573e303beb9604209256a..5264da496c9de753874c503bbc4c40c7aea8ac91 100644 (file)
  * SUCH DAMAGE.
  */
 
-#define NETDISSECT_REWORKED
+/* \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"
 
@@ -51,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,",