Skip to content

Commit

Permalink
wg-webclient/wg_device: set mtu to 1392 to encouter ds-lite in combin…
Browse files Browse the repository at this point in the history
…ation with pppoe and routers that silently drop packages that exceed this limit.
  • Loading branch information
ffreddow committed Nov 11, 2024
1 parent 7d7caec commit d58050b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wg-webclient/src/wg_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ impl phy::Device for WgTunDevice {

fn capabilities(&self) -> DeviceCapabilities {
let mut caps = DeviceCapabilities::default();
caps.max_transmission_unit = 1500;
caps.max_transmission_unit = 1392;
caps.medium = Medium::Ip;
caps
}
Expand Down

0 comments on commit d58050b

Please sign in to comment.