diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-10-22 15:39:30 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-10-22 15:40:32 +0200 |
commit | 884035321a9d9d47120d65f02cada3ed146029af (patch) | |
tree | ef63630f3952f74f9ba84738df4783d060196c89 /src/lib/protocols/rmcp.c | |
parent | f69909d49b82134d5cfe934cba9971cb62bf32cc (diff) |
Add CAN over Ethernet dissector.add/can-over-ethernet
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/rmcp.c')
-rw-r--r-- | src/lib/protocols/rmcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/rmcp.c b/src/lib/protocols/rmcp.c index 366f6eac8..442179bea 100644 --- a/src/lib/protocols/rmcp.c +++ b/src/lib/protocols/rmcp.c @@ -27,6 +27,7 @@ #include "ndpi_api.h" +PACK_ON struct rmcp_header { uint8_t version; uint8_t reserved; @@ -40,7 +41,7 @@ struct rmcp_header { #else #error "Missing endian macro definitions." #endif -}; +} PACK_OFF; static void ndpi_int_rmcp_add_connection(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) |