5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-25 23:01:38 +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:
octeep 2020-11-13 06:38:27 +00:00 committed by GitHub
parent d3672545a3
commit 04e890fcc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,6 @@ func GetDefaults() platformDefaultParameters {
// TUN/TAP // TUN/TAP
MaximumIfMTU: 16384, MaximumIfMTU: 16384,
DefaultIfMTU: 16384, DefaultIfMTU: 16384,
DefaultIfName: "/dev/tun0", DefaultIfName: "tun0",
} }
} }