mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Change DefaultIfName from "/dev/tun0" to "tun0"
Specifying the full path to the interface in OpenBSD would result in: panic: Interface name must be tun[0-9]* Therefore, DefaultIfName should be changed to tun0 in order to make yggdrasil work out of the box.
This commit is contained in:
parent
d3672545a3
commit
04e890fcc3
1 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 16384,
|
MaximumIfMTU: 16384,
|
||||||
DefaultIfMTU: 16384,
|
DefaultIfMTU: 16384,
|
||||||
DefaultIfName: "/dev/tun0",
|
DefaultIfName: "tun0",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue