]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Pay attention to metric from kernel
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 9 Aug 2017 13:13:33 +0000 (09:13 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 9 Aug 2017 13:17:20 +0000 (09:17 -0400)
commitf19435a8b432bbeddf484df54b02e2bd3e847350
tree3d7a3668a2ef6341f09648a9f87e3b9b92fb84e2
parent9cdce038c51d259e4416c3e2f15d70e76c5e176f
zebra: Pay attention to metric from kernel

When the linux kernel adds/deletes routes, the
metric is important, but our routing protocols
add/delete in a slightly different manner,
so allow kernel metrics to match so that our
rib matches the kernel's fib.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/connected.c
zebra/kernel_socket.c
zebra/redistribute.c
zebra/rib.h
zebra/rt_netlink.c
zebra/zebra_rib.c
zebra/zserv.c