explain the 'iptables -w' check
This commit is contained in:
1 parent
550aa3045d
commit
8e6a9fb9b8
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user