diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-03-29 16:10:00 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-03-29 16:10:00 +0200 |
commit | bff21441dd9b8cd526680e9977f8eceb9912ca6f (patch) | |
tree | 6a38f7790fd48a7ac4e83d6f38f4299cb816cb16 /sysdep/linux/netlink.c | |
parent | ed6100441ec6e95797d3692925b85c627a4e8df1 (diff) |
Netlink: Change default kernel metric to 32
This avoids collisions with non-BIRD routes in kernel tables.
Diffstat (limited to 'sysdep/linux/netlink.c')
-rw-r--r-- | sysdep/linux/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 654dc4d1..e20512f5 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -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 |