4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-09 12:14:05 +00:00

Update default interface MTU to use per-platform instead of global value

This commit is contained in:
Neil Alexander
2018-03-03 12:43:39 +00:00
parent 4917ea3dd2
commit 4e5627f933
6 changed files with 5 additions and 7 deletions

View File

@ -10,7 +10,7 @@ import water "github.com/neilalexander/water"
func getDefaults() tunDefaultParameters {
return tunDefaultParameters{
maximumIfMTU: 65535,
defaultIfMTU: DEFAULT_MTU,
defaultIfMTU: 65535,
defaultIfName: "none",
defaultIfTAPMode: false,
}