summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/rw-psk-ipv4/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/rw-psk-ipv4/posttest.dat')
-rw-r--r--testing/tests/ikev1/rw-psk-ipv4/posttest.dat6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/tests/ikev1/rw-psk-ipv4/posttest.dat b/testing/tests/ikev1/rw-psk-ipv4/posttest.dat
index 94a400606..1865a1c60 100644
--- a/testing/tests/ikev1/rw-psk-ipv4/posttest.dat
+++ b/testing/tests/ikev1/rw-psk-ipv4/posttest.dat
@@ -1,4 +1,6 @@
moon::ipsec stop
carol::ipsec stop
-moon::/etc/init.d/iptables stop 2> /dev/null
-carol::/etc/init.d/iptables stop 2> /dev/null
+dave::ipsec stop
+moon::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
+dave::iptables-restore < /etc/iptables.flush