aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2017-04-15 00:40:01 +0200
committerCampus <campus@ntop.org>2017-04-15 00:40:01 +0200
commit2b0809f3dc297289f9413db4dde2eaa109a3603e (patch)
tree11f642948e9b6a1dbe3410a8872bf16e22745efb /src
parent29cd6ef9942188633b79b5c1fe62360f048a6450 (diff)
name correction for llc_snap header and minor fix
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 490098086..e1fbeb71c 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -138,14 +138,12 @@ struct ndpi_snap_extension
} PACK_OFF;
PACK_ON
-struct ndpi_llc_header
+struct ndpi_llc_header_snap
{
u_int8_t dsap;
u_int8_t ssap;
u_int8_t ctrl;
-#ifdef SNAP_EXT
struct ndpi_snap_extension snap;
-#endif
} PACK_OFF;
/* ++++++++++ RADIO TAP header (for IEEE 802.11) +++++++++++++ */