Skip to content

Commit

Permalink
misc: fix gool MTU
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Pashmfouroush <[email protected]>
  • Loading branch information
markpash committed Apr 3, 2024
1 parent 451058b commit 06b1624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const singleMTU = 1330
const doubleMTU = 1250
const doubleMTU = 1280 // minimum mtu for IPv6, may cause frag reassembly somewhere

This comment has been minimized.

Copy link
@hiddify-com

hiddify-com Apr 8, 2024

If it is ipv6 it needs 80 bytes i think it can be checked again

https://lists.zx2c4.com/pipermail/wireguard/2017-December/002201.html


type WarpOptions struct {
Bind netip.AddrPort
Expand Down

0 comments on commit 06b1624

Please sign in to comment.