]> git.puffer.fish Git - mirror/frr.git/commit
zebra: set metric for directly connected routes via netlink to 0
authorBrett Ciphery <brett.ciphery@windriver.com>
Thu, 3 Oct 2013 13:48:54 +0000 (13:48 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 1 Apr 2014 15:27:53 +0000 (17:27 +0200)
commitdb19c85679b08668c3dce73a655c21753042cf06
treed36e66a2a34265b9a31bd93ed6bf00d7973b1232
parent98a59492d9152df8c93612d2d12f170b5c034189
zebra: set metric for directly connected routes via netlink to 0

a value of 1 is hard coded for the metric field, much like the
ifconfig utility it may have roots in.  in order to be in line
with the metric used in the linux kernel itself, we switch this
to 0.

Signed-off-by: Brett Ciphery <brett.ciphery@windriver.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/rt_netlink.c