diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-01 17:29:15 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-01 17:34:09 +0200 |
commit | 9df7dc5f69c3a8edc2150b0702c1504b5f7be8b7 (patch) | |
tree | d28f916ab8eb91a7c796961f070c71639bdde59a /include | |
parent | 59bfb5854d04e0b89490c7f565d6ac5b6b44cc23 (diff) |
wireformat: Send the length in the network order..
this is a format change. but it is necessary now.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-pcap/wireformat.h | 4 |
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)); |