summaryrefslogtreecommitdiff
path: root/src/nm-default-route-manager.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-04 10:26:01 +0100
committerThomas Haller <thaller@redhat.com>2014-11-07 15:23:12 +0100
commita39a3ae4cd72d695f1b5d10eaa79544f2020a54e (patch)
tree1fadcbeff158b9c1d088e2501c29d6e993d27dde /src/nm-default-route-manager.h
parenta94605f92b7dc25dcb8f574da0e48e44e9fdcf29 (diff)
downloadNetworkManager-a39a3ae4cd72d695f1b5d10eaa79544f2020a54e.tar.gz
policy: track default route for VPN in NMDefaultRouteManager
Extend NMDefaultRouteManager to track NMVpnConnection beside NMDevice. That way, all default routes are managed by NMDefaultRouteManager. For VPN connections the manager also tracks connections that are set never_default. That is useful because NMPolicy still uses VPNs without default route to setup DNS. Hence, NMDefaultRouteManager trackes those connections to have the relative priority of the devices. Interestingly, that means that for VPNs that are ipv4.never-default, ipv4.route-metric still has an effect in determining relative priorities for DNS configuration. This commit only adds the parts to track the default route. NMPolicy still sets the route as before. Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/nm-default-route-manager.h')
0 files changed, 0 insertions, 0 deletions