]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: implement NEXTHOP_FLAG_ONLINK
authorChristian Franke <chris@opensourcerouting.org>
Fri, 5 Jul 2013 15:35:39 +0000 (15:35 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 19 Sep 2013 16:04:40 +0000 (18:04 +0200)
commite8d3d2991f72613edb76dea244a8c8e4684873dd
treed02f768800ebaac51439368ff3d851e63ed6359e
parent48a53dc71cb422e619859b79d5069e02fcd867d0
zebra: implement NEXTHOP_FLAG_ONLINK

On Linux, the kernel will only allow for a route to be installed when
its gateway is directly attached according the kernel fib.

There are cases when this restriction by the kernel is too strong, in
those cases, we deploy the RTNH_F_ONLINK netlink flag.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/rib.h
zebra/rt_netlink.c
zebra/zebra_vty.c