chore: Android auto-detect-interface plus
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user