diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-pcap/osmo_pcap_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-pcap/osmo_pcap_server.h b/include/osmo-pcap/osmo_pcap_server.h index c1d318e..cdcdb70 100644 --- a/include/osmo-pcap/osmo_pcap_server.h +++ b/include/osmo-pcap/osmo_pcap_server.h @@ -91,7 +91,7 @@ struct osmo_pcap_conn { int state; int pend; int reopen; - char buf[SERVER_MAX_DATA_SIZE + sizeof(struct osmo_pcap_data)]; + char buf[sizeof(struct osmo_pcap_data) + sizeof(struct osmo_pcap_pkthdr) + SERVER_MAX_DATA_SIZE]; struct osmo_pcap_data *data; /* statistics */ |