]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Update for coherence between prototypes and definitions
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 12 Feb 2018 12:49:57 +0000 (13:49 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 12 Feb 2018 12:53:37 +0000 (13:53 +0100)
print-hsrp.c
print-isoclns.c

index 42ce76030b5dc6b6a849b758a76e37c259d0baa5..b29135f38c8b77dd13e378c96e16987f2fd381ac 100644 (file)
@@ -94,7 +94,7 @@ struct hsrp {
 };
 
 void
-hsrp_print(netdissect_options *ndo, const uint8_t *bp, u_int len)
+hsrp_print(netdissect_options *ndo, const u_char *bp, u_int len)
 {
        const struct hsrp *hp = (const struct hsrp *) bp;
        uint8_t version;
index bcd8e88499520f8263732f7f87ed8069e7e3bf0d..b0288b267e27a8fb913c4320233785c5955fa1af 100644 (file)
@@ -677,7 +677,7 @@ struct isis_tlv_lsp {
 #define ISIS_PSNP_HEADER_SIZE (sizeof(struct isis_psnp_header))
 
 void
-isoclns_print(netdissect_options *ndo, const uint8_t *p, u_int length)
+isoclns_print(netdissect_options *ndo, const u_char *p, u_int length)
 {
        if (!ND_TTEST_1(p)) { /* enough bytes on the wire ? */
                ND_PRINT("|OSI");