mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 00:30:07 +01:00
l3cfg: default to 'main' route table sync mode
If no l3cd specifies a route table sync mode, use 'main' as default. Fixes-test: @ipv6_route_set_route_with_tables_reapply
This commit is contained in:
parent
23d61367b3
commit
e9c17fcc9b
1 changed files with 1 additions and 1 deletions
|
|
@ -3997,7 +3997,7 @@ _l3_commit_one(NML3Cfg * self,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (route_table_sync == NM_IP_ROUTE_TABLE_SYNC_MODE_NONE)
|
if (route_table_sync == NM_IP_ROUTE_TABLE_SYNC_MODE_NONE)
|
||||||
route_table_sync = NM_IP_ROUTE_TABLE_SYNC_MODE_ALL;
|
route_table_sync = NM_IP_ROUTE_TABLE_SYNC_MODE_MAIN;
|
||||||
|
|
||||||
if (commit_type == NM_L3_CFG_COMMIT_TYPE_REAPPLY) {
|
if (commit_type == NM_L3_CFG_COMMIT_TYPE_REAPPLY) {
|
||||||
addresses_prune = nm_platform_ip_address_get_prune_list(self->priv.platform,
|
addresses_prune = nm_platform_ip_address_get_prune_list(self->priv.platform,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue