refactor: remove useless code

This commit is contained in:
adlyq
2022-05-16 17:29:08 +08:00
parent aa0d174ccb
commit d52b00bd34
2 changed files with 10 additions and 54 deletions

View File

@ -33,7 +33,6 @@ func GetAutoDetectInterface(tunName string) (ifn string, err error) {
return "", fmt.Errorf("interface not found")
}
return
//err = fmt.Errorf("interface not found")
}
func ConfigInterfaceAddress(dev device.Device, addr netip.Prefix, forceMTU int, autoRoute, autoDetectInterface bool) error {