summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-msnlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcpdump/print-msnlb.c')
-rw-r--r--contrib/tcpdump/print-msnlb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/tcpdump/print-msnlb.c b/contrib/tcpdump/print-msnlb.c
index fcd0006..5264da4 100644
--- a/contrib/tcpdump/print-msnlb.c
+++ b/contrib/tcpdump/print-msnlb.c
@@ -26,14 +26,15 @@
* 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,",
OpenPOWER on IntegriCloud