diff --git a/denyip b/denyip index 58605f6..7e996e6 100644 Binary files a/denyip and b/denyip differ diff --git a/main.go b/main.go index 724c006..d9a7cb9 100644 --- a/main.go +++ b/main.go @@ -267,7 +267,6 @@ func handleCmd() { if instruction != "" { switch instruction { case "start": - fmt.Println("启动 Iptables 规则") for i := 0; i < MAX_IPSET_NAME; i++ { _name := fmt.Sprintf("root%d", i) iptables_add(_name) @@ -275,7 +274,6 @@ func handleCmd() { os.Exit(0) case "stop": - fmt.Println("停止 Iptables 规则") for i := 0; i < MAX_IPSET_NAME; i++ { _name := fmt.Sprintf("root%d", i) iptables_del(_name) @@ -284,7 +282,6 @@ func handleCmd() { case "l": fallthrough case "list": - fmt.Println("打印 Iptables 规则") _ = iptables_list() os.Exit(0) default: