X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ee68aa36460d7efeca48747f33b7f2adc0900bfb..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/print-zep.c diff --git a/print-zep.c b/print-zep.c index 263068fc..017049d4 100644 --- a/print-zep.c +++ b/print-zep.c @@ -25,7 +25,7 @@ #include #endif -#include +#include "netdissect-stdinc.h" #include "netdissect.h" @@ -57,7 +57,6 @@ *------------------------------------------------------------ */ -#define FMAXINT (4294967296.0) /* floating point rep. of MAXINT */ #define JAN_1970 2208988800U /* Print timestamp */ @@ -105,9 +104,9 @@ zep_print(netdissect_options *ndo, uint8_t version, inner_len; uint32_t seq_no; - ndo->ndo_protocol ="ZEP"; + ndo->ndo_protocol = "zep"; - nd_print_protocol(ndo); + nd_print_protocol_caps(ndo); ND_TCHECK_LEN(bp, 8);