]> The Tcpdump Group git mirrors - tcpdump/commitdiff
fix function 'msnlb_print', unused parameter 'length'
authorfxlb <[email protected]>
Fri, 15 Mar 2013 16:19:26 +0000 (17:19 +0100)
committerGuy Harris <[email protected]>
Fri, 29 Mar 2013 10:31:00 +0000 (03:31 -0700)
netdissect.h
print-ether.c
print-msnlb.c

index be6fb11908ba263a7e3dee520e63dae07a766dce..da52e4634fbb5a2947805b6d336fd765485820be 100644 (file)
@@ -287,7 +287,7 @@ extern int esp_print(netdissect_options *,
                     int *nhdr, int *padlen);
 extern void arp_print(netdissect_options *,const u_char *, u_int, u_int);
 extern void tipc_print(netdissect_options *, const u_char *, u_int, u_int);
-extern void msnlb_print(netdissect_options *, const u_char *, u_int);
+extern void msnlb_print(netdissect_options *, const u_char *);
 extern void icmp6_print(netdissect_options *ndo, const u_char *,
                         u_int, const u_char *, int);
 extern void isakmp_print(netdissect_options *,const u_char *,
index f783341d56b78b0570b7214eed100df7c80268d8..5a1d58cbea0059449d0b015d80831e245732fb32 100644 (file)
@@ -414,7 +414,7 @@ ethertype_print(netdissect_options *ndo,
                return (1);
 
        case ETHERTYPE_MS_NLB_HB:
-               msnlb_print(ndo, p, length);
+               msnlb_print(ndo, p);
                return (1);
 
        case ETHERTYPE_LAT:
index 4c5fb0cbb45e91e2419fe321737565da8e292608..b3004985874de618b70c3f0597b614c8cf1a4520 100644 (file)
@@ -49,7 +49,7 @@ struct msnlb_heartbeat_pkt {
 };
 
 void
-msnlb_print(netdissect_options *ndo, const u_char *bp, u_int length)
+msnlb_print(netdissect_options *ndo, const u_char *bp)
 {
        const struct msnlb_heartbeat_pkt *hb;