X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b751376719cfe1924aa07ab8fd364ec1a55c04b3..a63600a1fc28dbc7ae7ce9f996829c49a25fb33c:/print-msnlb.c diff --git a/print-msnlb.c b/print-msnlb.c index 99b22a02..8afaa7fe 100644 --- a/print-msnlb.c +++ b/print-msnlb.c @@ -54,13 +54,9 @@ msnlb_print(netdissect_options *ndo, const u_char *bp) ndo->ndo_protocol = "msnlb"; hb = (const struct msnlb_heartbeat_pkt *)bp; - ND_TCHECK_SIZE(hb); - ND_PRINT("MS NLB heartbeat, host priority: %u,", - GET_LE_U_4((hb->host_prio))); - ND_PRINT(" cluster IP: %s,", GET_IPADDR_STRING(hb->virtual_ip)); - ND_PRINT(" host IP: %s", GET_IPADDR_STRING(hb->host_ip)); - return; -trunc: - nd_print_trunc(ndo); + ND_PRINT("MS NLB heartbeat"); + ND_PRINT(", host priority: %u", GET_LE_U_4((hb->host_prio))); + ND_PRINT(", cluster IP: %s", GET_IPADDR_STRING(hb->virtual_ip)); + ND_PRINT(", host IP: %s", GET_IPADDR_STRING(hb->host_ip)); }