explain the 'iptables -w' check

This commit is contained in:
Matthias Radestock committed 2014-09-05 14:35:43 +01:00
1 parent 550aa3045d
commit 8e6a9fb9b8
1 file changed
+1
+1
View File
@@ -49,6 +49,7 @@ create_bridge() {
}
add_nat_rule() {
# -w is recent addition to iptables
if [ -z "$CHECKED_IPTABLES_W" ] ; then
if iptables -S -w >/dev/null 2>&1 ; then
IPTABLES_W=-w