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
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
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:
|
||||
0 (undefined).
|
||||
32.
|
||||
|
||||
<tag><label id="krt-graceful-restart">graceful restart <m/switch/</tag>
|
||||
Participate in graceful restart recovery. If this option is enabled and
|
||||
|
|
|
@ -1935,7 +1935,7 @@ void
|
|||
krt_sys_init_config(struct krt_config *cf)
|
||||
{
|
||||
cf->sys.table_id = RT_TABLE_MAIN;
|
||||
cf->sys.metric = 0;
|
||||
cf->sys.metric = 32;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue