summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/net2net-pgp-v3/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/net2net-pgp-v3/posttest.dat')
-rw-r--r--testing/tests/ikev2/net2net-pgp-v3/posttest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/net2net-pgp-v3/posttest.dat b/testing/tests/ikev2/net2net-pgp-v3/posttest.dat
index fafcde975..9a9513dc3 100644
--- a/testing/tests/ikev2/net2net-pgp-v3/posttest.dat
+++ b/testing/tests/ikev2/net2net-pgp-v3/posttest.dat
@@ -1,7 +1,7 @@
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/certs/*
moon::rm /etc/ipsec.d/private/*
sun::rm /etc/ipsec.d/certs/*