Sfoglia il codice sorgente

Add purge/delete rules for raw on flush

tags/2.1
Brielle Bruns 1 anno fa
parent
commit
1bfe6ded80
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      lib/iptables.inc

+ 2
- 0
lib/iptables.inc Vedi File

@@ -42,6 +42,8 @@ function iptables_rules_flush {
${VER_IPTABLES} -t nat -X &>/dev/null
${VER_IPTABLES} -t mangle -F &>/dev/null
${VER_IPTABLES} -t mangle -X &>/dev/null
${VER_IPTABLES} -t raw -F &>/dev/null
${VER_IPTABLES} -t raw -X &>/dev/null
for i in `cat $TABLE_NAMES`; do
${VER_IPTABLES} -F -t $i &>/dev/null
done


Loading…
Annulla
Salva