diff options
author | Thomas Haller <thaller@redhat.com> | 2014-11-05 09:31:42 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-11-06 21:01:43 +0100 |
commit | 73bf215369ba39d3c27b2e218bb0be76e299d7db (patch) | |
tree | 192465ce20d57a15c680176ec0effd655dcef3a6 | |
parent | 8ee402586a6f14db62e453f60654f98dac8a206d (diff) | |
download | NetworkManager-73bf215369ba39d3c27b2e218bb0be76e299d7db.tar.gz |
fixup! core: remove unneeded check in nm_ip4_config_commit() for default routes
-rw-r--r-- | src/platform/nm-platform.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index 70395ca3cf..15be61f508 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -2010,9 +2010,8 @@ array_contains_ip6_route (const GArray *routes, const NMPlatformIP6Route *route) * A convenience function to synchronize routes for a specific interface * with the least possible disturbance. It simply removes routes that are * not listed and adds routes that are. - * - * @known_routes should not contain a default route; if it does, it will be - * ignored. + * Default routes are ignored (both in @known_routes and those already + * configured on the device). * * Returns: %TRUE on success. */ @@ -2083,9 +2082,8 @@ nm_platform_ip4_route_sync (int ifindex, const GArray *known_routes) * A convenience function to synchronize routes for a specific interface * with the least possible disturbance. It simply removes routes that are * not listed and adds routes that are. - * - * @known_routes should not contain a default route; if it does, it will be - * ignored. + * Default routes are ignored (both in @known_routes and those already + * configured on the device). * * Returns: %TRUE on success. */ |