fix: 移除遗漏参数传递

This commit is contained in:
Mmx233
2023-06-01 18:19:13 +08:00
parent d26634f6c7
commit 874eeddf96
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@@ -3,4 +3,5 @@
/*.bat
/*.log
/autoLogin*
/BitSrunLoginGo*
/BitSrunLoginGo*
/build

View File

@@ -34,7 +34,7 @@ func Guardian() {
log.Errorln("登录出错: ", e)
}
} else { //多网卡
interfaces, e := tools.GetInterfaceAddr()
interfaces, e := tools.GetInterfaceAddr(global.Config.Settings.Basic.Interfaces)
if e == nil {
for _, eth := range interfaces {
log.Debugf("使用 %s 网口登录 ", eth.Name)