summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/net2net-cert/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/net2net-cert/posttest.dat')
-rw-r--r--testing/tests/ikev1/net2net-cert/posttest.dat5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/ikev1/net2net-cert/posttest.dat b/testing/tests/ikev1/net2net-cert/posttest.dat
index 5a9150bc8..837738fc6 100644
--- a/testing/tests/ikev1/net2net-cert/posttest.dat
+++ b/testing/tests/ikev1/net2net-cert/posttest.dat
@@ -1,4 +1,5 @@
moon::ipsec stop
sun::ipsec stop
-moon::/etc/init.d/iptables stop 2> /dev/null
-sun::/etc/init.d/iptables stop 2> /dev/null
+moon::iptables-restore < /etc/iptables.flush
+sun::iptables-restore < /etc/iptables.flush
+