Update toriptables2.py
This commit is contained in:
parent
28a9539f4a
commit
0004467acc
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ DNSPort 53
|
||||||
self.load_iptables_rules.__init__(self)
|
self.load_iptables_rules.__init__(self)
|
||||||
|
|
||||||
def flush_iptables_rules(self):
|
def flush_iptables_rules(self):
|
||||||
call(["iptables", '-F'])
|
call(["iptables", "-F"])
|
||||||
call(["iptables", "-t", "nat", "-F"])
|
call(["iptables", "-t", "nat", "-F"])
|
||||||
|
|
||||||
def load_iptables_rules(self):
|
def load_iptables_rules(self):
|
||||||
|
|
Loading…
Reference in a new issue