summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/dynamic-two-peers/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/dynamic-two-peers/posttest.dat')
-rw-r--r--testing/tests/ikev1/dynamic-two-peers/posttest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/ikev1/dynamic-two-peers/posttest.dat b/testing/tests/ikev1/dynamic-two-peers/posttest.dat
index e120b87db..7b2609846 100644
--- a/testing/tests/ikev1/dynamic-two-peers/posttest.dat
+++ b/testing/tests/ikev1/dynamic-two-peers/posttest.dat
@@ -3,6 +3,6 @@ dave::ipsec stop
moon::sleep 1
moon::ipsec stop
moon::mv /etc/hosts.ori /etc/hosts
-moon::/etc/init.d/iptables stop 2> /dev/null
-carol::/etc/init.d/iptables stop 2> /dev/null
-dave::/etc/init.d/iptables stop 2> /dev/null
+moon::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
+dave::iptables-restore < /etc/iptables.flush