chore: Android auto-detect-interface plus

This commit is contained in:
adlyq
2022-05-18 12:00:57 +08:00
parent 16b27b3a1f
commit b5623602f5
8 changed files with 20 additions and 33 deletions

View File

@ -867,7 +867,7 @@ func parseAuthentication(rawRecords []string) []auth.AuthUser {
func parseTun(rawTun RawTun, general *General) (*Tun, error) {
if rawTun.Enable && rawTun.AutoDetectInterface {
autoDetectInterfaceName, err := commons.GetAutoDetectInterface(rawTun.Device)
autoDetectInterfaceName, err := commons.GetAutoDetectInterface()
if err != nil {
log.Warnln("Can not find auto detect interface.[%s]", err)
} else {