]> git.puffer.fish Git - mirror/frr.git/commit
ripd & ripngd: avoid the zero interface metric
authorLu Feng <lu.feng@6wind.com>
Mon, 14 Apr 2014 08:09:29 +0000 (08:09 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 3 Jun 2014 13:32:11 +0000 (15:32 +0200)
commit7b3b98ae3ecdad20cf5cebd2a6532aee17184d95
treee95cee3c81dec96641e6c7497f69faa3134a5085
parent224e7e515747b74dd6d3610570a64b9726a27722
ripd & ripngd: avoid the zero interface metric

The interface metric is initialized to 0 in the commit db19c85:
zebra: set metric for directly connected routes via netlink to 0

Ripd and ripngd must be aware of it and avoid increase the
route metric by 0.

Signed-off-by: Feng Lu <lu.feng@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ripd/ripd.c
ripngd/ripngd.c