去除提示

This commit is contained in:
aixiao 2025-01-09 17:46:22 +08:00
parent 18ab5ae4ef
commit ed4deb847e
2 changed files with 0 additions and 3 deletions

BIN
denyip

Binary file not shown.

View File

@ -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: