Commit 2adbece4 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(ports): wait for iptables lock

parent c7d07067
......@@ -1272,7 +1272,7 @@ sub create_iptables_chain($self, $chain, $jchain='INPUT') {
}
sub iptables($self, @args) {
my @cmd = ('/sbin/iptables');
my @cmd = ('/sbin/iptables','-w');
for ( ;; ) {
my $key = shift @args or last;
my $field = "-$key";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment