diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-07-27 13:41:35 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-07-27 13:41:35 +0200 |
commit | fbedc6a45b9c18f13972c8e1a7ada0ef5fb67210 (patch) | |
tree | 3e085d662684f302bfc531ff03ef2b73f257ba16 /src/libcharon/plugins/load_tester | |
parent | a2e377fcfdc227e3856b656c8cd5401d67710eff (diff) | |
download | strongswan-fbedc6a45b9c18f13972c8e1a7ada0ef5fb67210.tar.bz2 strongswan-fbedc6a45b9c18f13972c8e1a7ada0ef5fb67210.tar.xz |
Remove policies in kernel interfaces based on their priority.
This allows to unroute a connection while the same connection is
currently established. In this case both CHILD_SAs share the same
reqid but the installed policies have different priorities.
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_ipsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_ipsec.c b/src/libcharon/plugins/load_tester/load_tester_ipsec.c index e8c02b99a..f76f2988c 100644 --- a/src/libcharon/plugins/load_tester/load_tester_ipsec.c +++ b/src/libcharon/plugins/load_tester/load_tester_ipsec.c @@ -86,7 +86,7 @@ METHOD(kernel_ipsec_t, add_policy, status_t, private_load_tester_ipsec_t *this, host_t *src, host_t *dst, traffic_selector_t *src_ts, traffic_selector_t *dst_ts, policy_dir_t direction, policy_type_t type, ipsec_sa_cfg_t *sa, - mark_t mark, bool routed) + mark_t mark, policy_priority_t priority) { return SUCCESS; } @@ -103,7 +103,7 @@ METHOD(kernel_ipsec_t, query_policy, status_t, METHOD(kernel_ipsec_t, del_policy, status_t, private_load_tester_ipsec_t *this, traffic_selector_t *src_ts, traffic_selector_t *dst_ts, policy_dir_t direction, u_int32_t reqid, - mark_t mark, bool unrouted) + mark_t mark, policy_priority_t priority) { return SUCCESS; } |