X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/69cb46af9119e8b5554bcc4bf1bf36f39cb82131..1a04b92e365f5ed01ca38619b41bcc4fc9cbd63c:/print-msnlb.c diff --git a/print-msnlb.c b/print-msnlb.c index 2721246d..2352ba38 100644 --- a/print-msnlb.c +++ b/print-msnlb.c @@ -26,13 +26,15 @@ * SUCH DAMAGE. */ +/* \summary: MS Network Load Balancing's (NLB) heartbeat printer */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include +#include -#include "interface.h" +#include "netdissect.h" #include "addrtoname.h" #include "extract.h" @@ -54,7 +56,7 @@ msnlb_print(netdissect_options *ndo, const u_char *bp) ND_TCHECK(*hb); ND_PRINT((ndo, "MS NLB heartbeat, host priority: %u,", - EXTRACT_LE_32BITS(&(hb->host_prio)))); + EXTRACT_LE_U_4(&(hb->host_prio)))); ND_PRINT((ndo, " cluster IP: %s,", ipaddr_string(ndo, &(hb->virtual_ip)))); ND_PRINT((ndo, " host IP: %s", ipaddr_string(ndo, &(hb->host_ip)))); return;