mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-29 16:41:36 +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.
|
// Configures the TUN adapter with the correct IPv6 address and MTU.
|
||||||
func (tun *TunAdapter) setup(ifname string, addr string, mtu int) error {
|
func (tun *TunAdapter) setup(ifname string, addr string, mtu int) error {
|
||||||
if ifname == "auto" {
|
if ifname == "auto" {
|
||||||
ifname = defaults.GetDefaults().IfName
|
ifname = defaults.GetDefaults().DefaultIfName
|
||||||
}
|
}
|
||||||
var err error
|
var err error
|
||||||
err = doAsSystem(func() {
|
err = doAsSystem(func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user