summaryrefslogtreecommitdiff
path: root/src/nm-iface-helper.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-09-28 18:48:39 +0200
committerThomas Haller <thaller@redhat.com>2017-10-09 22:06:25 +0200
commit2e146148702615f31209f6ccc07ca02663eddb7b (patch)
tree98c7d5a1739491ac0745a16b5d5162206bfe5700 /src/nm-iface-helper.c
parent01930c96b853f2fc776a02cd394167b99ab6a8ea (diff)
downloadNetworkManager-2e146148702615f31209f6ccc07ca02663eddb7b.tar.gz
core: use ipv6.route-table setting for other IPv6 routes
Including device-routes, default-route, SLAAC.
Diffstat (limited to 'src/nm-iface-helper.c')
-rw-r--r--src/nm-iface-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c
index 66bebbbc6f..4c21f40e12 100644
--- a/src/nm-iface-helper.c
+++ b/src/nm-iface-helper.c
@@ -211,6 +211,7 @@ ndisc_config_changed (NMNDisc *ndisc, const NMNDiscData *rdata, guint changed_in
nm_ip6_config_reset_routes_ndisc (ndisc_config,
rdata->routes,
rdata->routes_n,
+ RT_TABLE_MAIN,
global_opt.priority_v6);
}
@@ -230,6 +231,7 @@ ndisc_config_changed (NMNDisc *ndisc, const NMNDiscData *rdata, guint changed_in
nm_ip6_config_merge (existing, ndisc_config, NM_IP_CONFIG_MERGE_DEFAULT);
nm_ip6_config_add_device_routes (existing,
+ RT_TABLE_MAIN,
global_opt.priority_v6);
if (!nm_ip6_config_commit (existing,
NM_PLATFORM_GET,