Sign in
nest-open-source
/
manifest_repos
/
iptables
/
d3ca9cf56ec3190b1eb9900c27a8d1e75adf5446
/
.
/
iptables
/
tests
/
shell
/
testcases
/
ipt-restore
/
0012-dash-F_0
blob: fd82afa1bc8ce1aa755ba82e9912976ea1e2cc56 [
file
] [
log
] [
blame
]
#!/bin/bash -e
# make sure -F lines don't cause segfaults
RULESET
=
'*nat
-F PREROUTING
-A PREROUTING -j ACCEPT
-F PREROUTING
COMMIT'
echo
-
e
"$RULESET"
|
$XT_MULTI iptables
-
restore
echo
-
e
"$RULESET"
|
$XT_MULTI iptables
-
restore
-
n