aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-05-13 12:16:33 +0200
committerTobias Brunner <tobias@strongswan.org>2014-06-19 14:20:33 +0200
commit479060d2d6c0a7474599d35a4bad5d6009895a6a (patch)
tree90d4c977e65fe150db1405e464ba2bc631b97581
parent566d1a90cd294eebf43b466c2efb4a502e50d2a0 (diff)
downloadstrongswan-479060d2d6c0a7474599d35a4bad5d6009895a6a.tar.bz2
strongswan-479060d2d6c0a7474599d35a4bad5d6009895a6a.tar.xz
ipsec: Add a fourth priority class for bypass policies
-rw-r--r--src/libstrongswan/ipsec/ipsec_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/ipsec/ipsec_types.h b/src/libstrongswan/ipsec/ipsec_types.h
index 1a4656b04..c1465e097 100644
--- a/src/libstrongswan/ipsec/ipsec_types.h
+++ b/src/libstrongswan/ipsec/ipsec_types.h
@@ -90,7 +90,9 @@ enum policy_type_t {
* High-level priority of a policy.
*/
enum policy_priority_t {
- /** Default priority */
+ /** Priority for passthrough policies */
+ POLICY_PRIORITY_PASS,
+ /** Priority for regular IPsec policies */
POLICY_PRIORITY_DEFAULT,
/** Priority for trap policies */
POLICY_PRIORITY_ROUTED,