]> git.proxmox.com Git - mirror_frr.git/commit
ripd: correctly redistribute ifindex routes (BZ#664)
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 28 Feb 2013 21:17:00 +0000 (22:17 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 9 Apr 2013 20:33:19 +0000 (22:33 +0200)
commitb68da446e977f8069fb72bce73402e2234ffc1d9
tree6c310ad8fdccf588fcc2ad8b6f03a4602d1b2a13
parent8df55970b64984e5071afd510caad5e778569bc1
ripd: correctly redistribute ifindex routes (BZ#664)

ripd had a check to restrict metric 0 to only directly connected routes.
This check was implemented by checking against Connected as route type.
This is, however, incorrect -- all routes that directly use an interface
without a nexthop should be treated as directly connected and passed off
with metric 0.

ripngd does not posess such a check and was not touched.

Reported-by: Sean Fulton <sean@gcnpublishing.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ripd/ripd.c