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