自动使用本地防火墙/增加edge-node [ip.drop|ip.reject|ip.remove]等命令

This commit is contained in:
GoEdgeLab
2022-01-09 17:07:37 +08:00
parent 9f4738af0d
commit 15fc2e4f41
17 changed files with 482 additions and 24 deletions

View File

@@ -43,9 +43,9 @@ func Test_Template2(t *testing.T) {
}
waf := Template()
err = waf.Init()
if err != nil {
t.Fatal(err)
var errs = waf.Init()
if len(errs) > 0 {
t.Fatal(errs[0])
}
now := time.Now()