aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-01-15 15:05:42 +0100
committerMartin Willi <martin@revosec.ch>2015-03-03 13:42:41 +0100
commit6b57790270fb07c579315c70ecce34f8ad9a4d63 (patch)
treef3a57502ea8e5c1cf6b08b3be0020acd11ff4873 /src/libcharon/plugins
parent4dc72f5e575aba18bf8ddfbb6574e07474bc3948 (diff)
downloadstrongswan-6b57790270fb.tar.bz2
strongswan-6b57790270fb.tar.xz
kernel-netlink: Respect kernel routing priorities for IKE routes
If a system uses routing metrics, we should honor them when doing (manual) routing lookups for IKE. When enumerating routes, the kernel reports priorities with the RTA_PRIORITY attribute, not RTA_METRICS. We prefer routes with a lower priority value, and fall back to longest prefix match priorities if the priority value is equal.
Diffstat (limited to 'src/libcharon/plugins')
0 files changed, 0 insertions, 0 deletions