summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/net2net-psk/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/net2net-psk/pretest.dat')
-rw-r--r--testing/tests/ikev1/net2net-psk/pretest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev1/net2net-psk/pretest.dat b/testing/tests/ikev1/net2net-psk/pretest.dat
index 9e40684ab..0f4ae0f4f 100644
--- a/testing/tests/ikev1/net2net-psk/pretest.dat
+++ b/testing/tests/ikev1/net2net-psk/pretest.dat
@@ -1,5 +1,5 @@
-moon::/etc/init.d/iptables start 2> /dev/null
-sun::/etc/init.d/iptables start 2> /dev/null
+moon::iptables-restore < /etc/iptables.rules
+sun::iptables-restore < /etc/iptables.rules
moon::rm /etc/ipsec.d/cacerts/*
sun::rm /etc/ipsec.d/cacerts/*
moon::ipsec start