mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-24 02:25:21 +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