X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/c1c3c77463d592cc576eaa491e604752044ca55a..d7b497cac78b6e22a66a6bae9bdec60a8044f67a:/print-msnlb.c diff --git a/print-msnlb.c b/print-msnlb.c index 27828f40..2352ba38 100644 --- a/print-msnlb.c +++ b/print-msnlb.c @@ -26,11 +26,13 @@ * SUCH DAMAGE. */ +/* \summary: MS Network Load Balancing's (NLB) heartbeat printer */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include +#include #include "netdissect.h" #include "addrtoname.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;