summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/net2net-same-nets/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/net2net-same-nets/posttest.dat')
-rw-r--r--testing/tests/ikev2/net2net-same-nets/posttest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/net2net-same-nets/posttest.dat b/testing/tests/ikev2/net2net-same-nets/posttest.dat
index e75e66650..b0225c37e 100644
--- a/testing/tests/ikev2/net2net-same-nets/posttest.dat
+++ b/testing/tests/ikev2/net2net-same-nets/posttest.dat
@@ -2,6 +2,6 @@ sun::iptables -t mangle -n -v -L PREROUTING
sun::iptables -t nat -n -v -L
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
sun::conntrack -F