summaryrefslogtreecommitdiff
path: root/print-msnlb.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-12-08 12:53:59 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-12-08 12:59:16 +0100
commit774179b62f1911cfb7ba76228e98eae3666937f9 (patch)
tree8fe655aac8dc8723b69aa00eefca127d12095622 /print-msnlb.c
parentb402a7dc8471ed9b2ec85407a0c3a6f1e485d1b1 (diff)
downloadtcpdump-774179b62f1911cfb7ba76228e98eae3666937f9.tar.gz
MS NLB: Remove a redundant ND_TCHECK_SIZE call
Moreover: Remove the trunc label.
Diffstat (limited to 'print-msnlb.c')
-rw-r--r--print-msnlb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/print-msnlb.c b/print-msnlb.c
index 99b22a02..de360ea9 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);
}