mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-27 12:05:23 +00:00
Fix typo
This commit is contained in:
parent
3a0870a448
commit
baebaabc43
@ -21,7 +21,7 @@ import (
|
||||
// Configures the TUN adapter with the correct IPv6 address and MTU.
|
||||
func (tun *TunAdapter) setup(ifname string, addr string, mtu int) error {
|
||||
if ifname == "auto" {
|
||||
ifname = defaults.GetDefaults().IfName
|
||||
ifname = defaults.GetDefaults().DefaultIfName
|
||||
}
|
||||
var err error
|
||||
err = doAsSystem(func() {
|
||||
|
Loading…
Reference in New Issue
Block a user