summaryrefslogtreecommitdiffstats
path: root/src/os/shared.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/shared.rs')
-rw-r--r--src/os/shared.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/shared.rs b/src/os/shared.rs
index 64d26d5..5d3360b 100644
--- a/src/os/shared.rs
+++ b/src/os/shared.rs
@@ -37,6 +37,7 @@ fn get_datalink_channel(
) -> Result<Box<dyn DataLinkReceiver>, GetInterfaceErrorKind> {
let mut config = Config::default();
config.read_timeout = Some(time::Duration::new(1, 0));
+ config.read_buffer_size = 65536;
match datalink::channel(interface, config) {
Ok(Ethernet(_tx, rx)) => Ok(rx),