]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msnlb.c
Use more the EXTRACT_U_1() macro (40/n)
[tcpdump] / print-msnlb.c
index d4f66037e9af62676393c936999312a1d028db47..2352ba38c78b2a26ecb972d8a3ffcab2de5fbe7e 100644 (file)
@@ -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;