summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/dynamic-responder/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/dynamic-responder/posttest.dat')
-rw-r--r--testing/tests/ikev1/dynamic-responder/posttest.dat4
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/tests/ikev1/dynamic-responder/posttest.dat b/testing/tests/ikev1/dynamic-responder/posttest.dat
index 4dbf3d4a4..32ac12ddc 100644
--- a/testing/tests/ikev1/dynamic-responder/posttest.dat
+++ b/testing/tests/ikev1/dynamic-responder/posttest.dat
@@ -2,8 +2,6 @@ dave::ipsec stop
carol::ipsec stop
dave::sleep 1
moon::ipsec stop
-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
+carol::iptables-restore < /etc/iptables.flush
dave::rm /etc/ipsec.d/certs/*
dave::rm /etc/ipsec.d/private/*