aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-pcap/wireformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-pcap/wireformat.h')
-rw-r--r--include/osmo-pcap/wireformat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmo-pcap/wireformat.h b/include/osmo-pcap/wireformat.h
index a642bb1..f094051 100644
--- a/include/osmo-pcap/wireformat.h
+++ b/include/osmo-pcap/wireformat.h
@@ -38,8 +38,8 @@
struct osmo_pcap_data {
uint8_t type;
- uint8_t spare[3];
- uint32_t len;
+ uint8_t spare;
+ uint16_t len;
uint8_t data[0];
} __attribute__((packed));