fix: 移除遗漏参数传递
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -3,4 +3,5 @@
|
|||||||
/*.bat
|
/*.bat
|
||||||
/*.log
|
/*.log
|
||||||
/autoLogin*
|
/autoLogin*
|
||||||
/BitSrunLoginGo*
|
/BitSrunLoginGo*
|
||||||
|
/build
|
||||||
@@ -34,7 +34,7 @@ func Guardian() {
|
|||||||
log.Errorln("登录出错: ", e)
|
log.Errorln("登录出错: ", e)
|
||||||
}
|
}
|
||||||
} else { //多网卡
|
} else { //多网卡
|
||||||
interfaces, e := tools.GetInterfaceAddr()
|
interfaces, e := tools.GetInterfaceAddr(global.Config.Settings.Basic.Interfaces)
|
||||||
if e == nil {
|
if e == nil {
|
||||||
for _, eth := range interfaces {
|
for _, eth := range interfaces {
|
||||||
log.Debugf("使用 %s 网口登录 ", eth.Name)
|
log.Debugf("使用 %s 网口登录 ", eth.Name)
|
||||||
|
|||||||
Reference in New Issue
Block a user