aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/libipsec/host2host-cert/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/libipsec/host2host-cert/posttest.dat')
-rw-r--r--testing/tests/libipsec/host2host-cert/posttest.dat5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/libipsec/host2host-cert/posttest.dat b/testing/tests/libipsec/host2host-cert/posttest.dat
index 8b6052f38..23ebee582 100644
--- a/testing/tests/libipsec/host2host-cert/posttest.dat
+++ b/testing/tests/libipsec/host2host-cert/posttest.dat
@@ -1,5 +1,6 @@
-moon::ipsec stop
-sun::ipsec stop
+moon::swanctl --terminate --ike host-host 2> /dev/null
+moon::systemctl stop strongswan-swanctl
+sun::systemctl stop strongswan-swanctl
moon::iptables-restore < /etc/iptables.flush
sun::iptables-restore < /etc/iptables.flush
moon::sysctl --pattern net.ipv4.conf.all.rp_filter --system