]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msnlb.c
Add printing support for vsockmon devices.
[tcpdump] / print-msnlb.c
index 5fdf5575991133aa895882dde0e1a1ae0dbad5e0..5d25f568265c6c0df486bb846956640914f7ab28 100644 (file)
@@ -57,10 +57,10 @@ msnlb_print(netdissect_options *ndo, const u_char *bp)
        ND_TCHECK_SIZE(hb);
 
        ND_PRINT("MS NLB heartbeat, host priority: %u,",
-               EXTRACT_LE_U_4((hb->host_prio)));
+               GET_LE_U_4((hb->host_prio)));
        ND_PRINT(" cluster IP: %s,", ipaddr_string(ndo, hb->virtual_ip));
        ND_PRINT(" host IP: %s", ipaddr_string(ndo, hb->host_ip));
        return;
 trunc:
-       ND_PRINT("[|MS NLB]");
+       nd_print_trunc(ndo);
 }