Order IPsec policies by a pseudo-priority based on the traffic selectors
authorTobias Brunner <tobias@strongswan.org>
Fri, 13 Jul 2012 12:41:45 +0000 (14:41 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 Aug 2012 13:41:03 +0000 (15:41 +0200)
commited1f0c234fbf8990f8cb55110944ebca0bb4f10f
tree6c1d3152f727f2dda824833c4b87cdc1d87ecda2
parentf1b423831104ccfc38487e2095ddc0c39555dded
Order IPsec policies by a pseudo-priority based on the traffic selectors

This allows a simple lookup, i.e. just use the first policy that matches
a given IP packet.
src/libipsec/ipsec_policy_mgr.c