Typo
This commit is contained in:
parent
4b3f9afce5
commit
6437f6191e
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -308,7 +308,7 @@ class iptables:
|
|||
add_general_rule(ports, ip_type, chain, subtable, subnet, 'tcp', 'src')
|
||||
if subnet["ouverture_ports"]["udp_ports_in"]:
|
||||
ports = ','.join(rule["show_port"] for rule in subnet["ouverture_ports"]["udp_ports_in"])
|
||||
add_general_rule(ports, ip_type, chain, subtable, subnt, 'udp', 'dst')
|
||||
add_general_rule(ports, ip_type, chain, subtable, subnet, 'udp', 'dst')
|
||||
if subnet["ouverture_ports"]["udp_ports_out"]:
|
||||
ports = ','.join(rule["show_port"] for rule in subnet["ouverture_ports"]["udp_ports_out"])
|
||||
add_general_rule(ports, ip_type, chain, subtable, subnet, 'udp', 'src')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue