GNOME Bugzilla – Bug 750405
[review] detect route-metric when creating nm-generated-assumed connection
Last modified: 2015-06-05 09:09:45 UTC
attaching patch...
Created attachment 304592 [details] [review] core: detect route-metric when creating nm-generated-assumed connection When generating a connection to assume it, also record the route-metric. Do that by looking at the metric of the (best) default-route. This is especially important since d51975ed921a5876b76e081b8f3df4e2ca1f1ca9. Now NM would also manage the default-route for assumed connections. So the generated assumed connection would have a route metric based on the device type, which might differ from the external configuration. This caused NM to replace the externally configured default-route.
LGTM and works fine.
thanks. merged as: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=bc75cd53a8c5ba525016bfddc1644be59a45ed41