summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/net2net-rsa/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/net2net-rsa/posttest.dat')
-rw-r--r--testing/tests/ikev2/net2net-rsa/posttest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/net2net-rsa/posttest.dat b/testing/tests/ikev2/net2net-rsa/posttest.dat
index a199946aa..f7fe7dc48 100644
--- a/testing/tests/ikev2/net2net-rsa/posttest.dat
+++ b/testing/tests/ikev2/net2net-rsa/posttest.dat
@@ -1,6 +1,6 @@
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
moon::rm /etc/ipsec.d/private/moonKey.der
sun::rm /etc/ipsec.d/private/sunKey.der