aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_client_core.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-12-03 20:16:37 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-12-03 20:28:04 +0100
commit42421c4f7e8dd199f358a956a3a5c5dca557f1f5 (patch)
tree84f58cf96762bc1fc398871190ddef4e376a35a4 /src/osmo_client_core.c
parentff1a5dc75152fb72cd4597036f9c6c712f1c1436 (diff)
client: Allow receiving jumbo frames on the client as well
Check the caplen and see if it is bigger than our assumed maximum. Make sure we have enough space for data+hdr+hdr.
Diffstat (limited to 'src/osmo_client_core.c')
-rw-r--r--src/osmo_client_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_client_core.c b/src/osmo_client_core.c
index 721f881..fd8b342 100644
--- a/src/osmo_client_core.c
+++ b/src/osmo_client_core.c
@@ -228,7 +228,7 @@ int osmo_client_capture(struct osmo_pcap_client *client, const char *device)
return 1;
}
- client->handle = pcap_open_live(client->device, 2000, 0,
+ client->handle = pcap_open_live(client->device, 9000, 0,
1000, client->errbuf);
if (!client->handle) {
LOGP(DCLIENT, LOGL_ERROR,