mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Netlink: Change default kernel metric to 32
This avoids collisions with non-BIRD routes in kernel tables.
This commit is contained in:
parent
ed6100441e
commit
bff21441dd
@ -2698,7 +2698,7 @@ limitations can be overcome using another routing table and the pipe protocol.
|
|||||||
routes from other sources (e.g. kernel device routes). Metric 0 has a
|
routes from other sources (e.g. kernel device routes). Metric 0 has a
|
||||||
special meaning of undefined metric, in which either OS default is used,
|
special meaning of undefined metric, in which either OS default is used,
|
||||||
or per-route metric can be set using <cf/krt_metric/ attribute. Default:
|
or per-route metric can be set using <cf/krt_metric/ attribute. Default:
|
||||||
0 (undefined).
|
32.
|
||||||
|
|
||||||
<tag><label id="krt-graceful-restart">graceful restart <m/switch/</tag>
|
<tag><label id="krt-graceful-restart">graceful restart <m/switch/</tag>
|
||||||
Participate in graceful restart recovery. If this option is enabled and
|
Participate in graceful restart recovery. If this option is enabled and
|
||||||
|
@ -1935,7 +1935,7 @@ void
|
|||||||
krt_sys_init_config(struct krt_config *cf)
|
krt_sys_init_config(struct krt_config *cf)
|
||||||
{
|
{
|
||||||
cf->sys.table_id = RT_TABLE_MAIN;
|
cf->sys.table_id = RT_TABLE_MAIN;
|
||||||
cf->sys.metric = 0;
|
cf->sys.metric = 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user