aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-10-12 15:52:18 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-21 18:16:25 +0200
commit662534657f4336b220ea10c17e6df2d422970ea3 (patch)
tree82adfb4ba79b043fdacb354864e1026d31267f7e /src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c
parentcef0a8118e5fd004a9cc8dd2172a1f9b7cd9a5aa (diff)
downloadstrongswan-662534657f4336b220ea10c17e6df2d422970ea3.tar.bz2
strongswan-662534657f4336b220ea10c17e6df2d422970ea3.tar.xz
Source address lookup refactored
Routes matching the destination are now first parsed and sorted by network prefix length. This list is then used to search for the best route with a matching preferred source address (if one is specified). This makes sure we really check all routes for that address.
Diffstat (limited to 'src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c')
0 files changed, 0 insertions, 0 deletions