mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 04:50:07 +01:00
platform: fix default routing rules added by kernel in NMPRulesManager
Fixes: b8398b9e79 ('platform: add NMPRulesManager for syncing routing rules')
This commit is contained in:
parent
598ecbc482
commit
48d8ffaff6
1 changed files with 5 additions and 0 deletions
|
|
@ -558,6 +558,7 @@ nmp_rules_manager_track_default (NMPRulesManager *self,
|
|||
.priority = 0,
|
||||
.table = RT_TABLE_LOCAL,
|
||||
.action = FR_ACT_TO_TBL,
|
||||
.protocol = RTPROT_KERNEL,
|
||||
}),
|
||||
priority,
|
||||
user_tag);
|
||||
|
|
@ -567,6 +568,7 @@ nmp_rules_manager_track_default (NMPRulesManager *self,
|
|||
.priority = 32766,
|
||||
.table = RT_TABLE_MAIN,
|
||||
.action = FR_ACT_TO_TBL,
|
||||
.protocol = RTPROT_KERNEL,
|
||||
}),
|
||||
priority,
|
||||
user_tag);
|
||||
|
|
@ -576,6 +578,7 @@ nmp_rules_manager_track_default (NMPRulesManager *self,
|
|||
.priority = 32767,
|
||||
.table = RT_TABLE_DEFAULT,
|
||||
.action = FR_ACT_TO_TBL,
|
||||
.protocol = RTPROT_KERNEL,
|
||||
}),
|
||||
priority,
|
||||
user_tag);
|
||||
|
|
@ -587,6 +590,7 @@ nmp_rules_manager_track_default (NMPRulesManager *self,
|
|||
.priority = 0,
|
||||
.table = RT_TABLE_LOCAL,
|
||||
.action = FR_ACT_TO_TBL,
|
||||
.protocol = RTPROT_KERNEL,
|
||||
}),
|
||||
priority,
|
||||
user_tag);
|
||||
|
|
@ -596,6 +600,7 @@ nmp_rules_manager_track_default (NMPRulesManager *self,
|
|||
.priority = 32766,
|
||||
.table = RT_TABLE_MAIN,
|
||||
.action = FR_ACT_TO_TBL,
|
||||
.protocol = RTPROT_KERNEL,
|
||||
}),
|
||||
priority,
|
||||
user_tag);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue