mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 10:05:17 +00: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
@ -20,6 +20,6 @@ func GetDefaults() platformDefaultParameters {
|
||||
// TUN/TAP
|
||||
MaximumIfMTU: 16384,
|
||||
DefaultIfMTU: 16384,
|
||||
DefaultIfName: "/dev/tun0",
|
||||
DefaultIfName: "tun0",
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user