fix: avoid choose ZeroTier's tap to defaultInterface

This commit is contained in:
wwqgtxx
2022-11-05 20:51:08 +08:00
parent dcd2417fce
commit 94a765ee31
3 changed files with 5 additions and 3 deletions

View File

@ -210,7 +210,7 @@ func New(options config.Tun, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.P
return
}
l.openAndroidHotspot(tunOptions)
//l.openAndroidHotspot(tunOptions)
log.Infoln("[TUN] Tun adapter listening at: %s(%s,%s), mtu: %d, auto route: %v, ip stack: %s",
tunName, tunOptions.Inet4Address, tunOptions.Inet6Address, tunMTU, options.AutoRoute, options.Stack)