diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-01-08 08:22:59 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 16:55:01 +0100 |
commit | 6fff9d9ace84e5aa6f8ea0738516f63d40c03dbd (patch) | |
tree | 6a7e1169a6090d5aff68af37195c5b530aa978bf /testing/tests/pfkey/protoport-route | |
parent | 8fbb9458d659274b82023d38da4ceb5198b514ac (diff) | |
download | strongswan-6fff9d9ace84e5aa6f8ea0738516f63d40c03dbd.tar.bz2 strongswan-6fff9d9ace84e5aa6f8ea0738516f63d40c03dbd.tar.xz |
converted all pfkey iptables scenarios
Diffstat (limited to 'testing/tests/pfkey/protoport-route')
-rw-r--r-- | testing/tests/pfkey/protoport-route/posttest.dat | 4 | ||||
-rw-r--r-- | testing/tests/pfkey/protoport-route/pretest.dat | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/tests/pfkey/protoport-route/posttest.dat b/testing/tests/pfkey/protoport-route/posttest.dat index 94a400606..046d4cfdc 100644 --- a/testing/tests/pfkey/protoport-route/posttest.dat +++ b/testing/tests/pfkey/protoport-route/posttest.dat @@ -1,4 +1,4 @@ moon::ipsec stop carol::ipsec stop -moon::/etc/init.d/iptables stop 2> /dev/null -carol::/etc/init.d/iptables stop 2> /dev/null +moon::iptables-restore < /etc/iptables.flush +carol::iptables-restore < /etc/iptables.flush diff --git a/testing/tests/pfkey/protoport-route/pretest.dat b/testing/tests/pfkey/protoport-route/pretest.dat index 0aded0f4d..5a15574d6 100644 --- a/testing/tests/pfkey/protoport-route/pretest.dat +++ b/testing/tests/pfkey/protoport-route/pretest.dat @@ -1,5 +1,5 @@ -moon::/etc/init.d/iptables start 2> /dev/null -carol::/etc/init.d/iptables start 2> /dev/null +moon::iptables-restore < /etc/iptables.rules +carol::iptables-restore < /etc/iptables.rules moon::ipsec start carol::ipsec start carol::sleep 1 |