platform: fix default routing rules added by kernel in NMPRulesManager

Fixes: b8398b9e79 ('platform: add NMPRulesManager for syncing routing rules')
This commit is contained in:
Thomas Haller 2019-03-24 09:38:59 +01:00
parent 598ecbc482
commit 48d8ffaff6

View file

@ -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);