summaryrefslogtreecommitdiff
path: root/src/nm-ip4-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-ip4-config.c')
-rw-r--r--src/nm-ip4-config.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nm-ip4-config.c b/src/nm-ip4-config.c
index 58127dafab..f3d87814ee 100644
--- a/src/nm-ip4-config.c
+++ b/src/nm-ip4-config.c
@@ -697,8 +697,6 @@ nm_ip4_config_capture (NMDedupMultiIndex *multi_idx, NMPlatform *platform, int i
if (route->table_coerced)
continue;
- if (route->rt_source == NM_IP_CONFIG_SOURCE_RTPROT_KERNEL)
- continue;
_add_route (self, plobj, NULL, NULL);
}
@@ -838,7 +836,7 @@ nm_ip4_config_commit (const NMIP4Config *self,
AF_INET,
ifindex,
routes,
- nm_platform_lookup_predicate_routes_main_skip_rtprot_kernel,
+ nm_platform_lookup_predicate_routes_main,
NULL))
success = FALSE;