X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b638c78b40951d394e14dea3608f87a1cff9786f..refs/pull/471/head:/print-llc.c diff --git a/print-llc.c b/print-llc.c index ac930378..aaaac8e1 100644 --- a/print-llc.c +++ b/print-llc.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include +#include #include "netdissect.h" #include "addrtoname.h" @@ -150,7 +150,7 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, { uint8_t dsap_field, dsap, ssap_field, ssap; uint16_t control; - u_int hdrlen; + int hdrlen; int is_u; if (caplen < 3) { @@ -303,7 +303,7 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, return (hdrlen); } -#ifdef TCPDUMP_DO_SMB +#ifdef ENABLE_SMB if (ssap == LLCSAP_NETBEUI && dsap == LLCSAP_NETBEUI && (!(control & LLC_S_FMT) || control == LLC_U_FMT)) { /*