aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/files
diff options
context:
space:
mode:
authorAaron Goodman <aaronjg@stanford.edu>2020-07-16 02:09:11 -0400
committerAaron Goodman <aaronjg@stanford.edu>2020-07-19 23:18:22 -0400
commit702a104f9c516fdddd5e71207d1ad91eb70f9a41 (patch)
treee33b7ddb6c5d0549c9741d1ec19337c72187678b /net/mwan3/files
parent2a5e9be83eaac46ed18a1784c03e38ce5712fed3 (diff)
mwan3: don't send iptable setup failures to /dev/null
silencing failing rules makes debugging more difficult Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'net/mwan3/files')
-rw-r--r--net/mwan3/files/lib/mwan3/mwan3.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh
index 96fdca966..f4bfc37e9 100644
--- a/net/mwan3/files/lib/mwan3/mwan3.sh
+++ b/net/mwan3/files/lib/mwan3/mwan3.sh
@@ -1023,7 +1023,7 @@ mwan3_set_user_iptables_rule()
${dest_port:+-m} ${dest_port:+multiport} ${dest_port:+--dports} $dest_port \
-m mark --mark 0/$MMX_MASK \
-m comment --comment "$1" \
- -j LOG --log-level "$loglevel" --log-prefix "MWAN3($1)" &> /dev/null
+ -j LOG --log-level "$loglevel" --log-prefix "MWAN3($1)"
}
$IPT -A mwan3_rules \
@@ -1035,7 +1035,7 @@ mwan3_set_user_iptables_rule()
${src_port:+-m} ${src_port:+multiport} ${src_port:+--sports} $src_port \
${dest_port:+-m} ${dest_port:+multiport} ${dest_port:+--dports} $dest_port \
-m mark --mark 0/$MMX_MASK \
- -j $policy &> /dev/null
+ -j $policy
done
fi
}