Commit 2a3e8ca7 authored by Thomas Haller's avatar Thomas Haller

platform: fix default routing rules added by kernel in NMPRulesManager

Fixes: b8398b9e ('platform: add NMPRulesManager for syncing routing rules')
parent 7b8194d5
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment