style: 修改settings配置结构
This commit is contained in:
@@ -15,7 +15,7 @@ func GetInterfaceAddr() ([]srunModels.Eth, error) {
|
||||
if e != nil {
|
||||
return nil, e
|
||||
}
|
||||
reg, e := regexp.Compile(global.Config.Settings.Interfaces)
|
||||
reg, e := regexp.Compile(global.Config.Settings.Basic.Interfaces)
|
||||
if e != nil {
|
||||
Log.Println("interfaces设置异常,无法解析")
|
||||
return nil, e
|
||||
|
||||
Reference in New Issue
Block a user