]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add a ZEBRA_FLAG_ONLINK so that routes bypass the is-unnumbered check
authorChristian Franke <chris@opensourcerouting.org>
Thu, 7 Jun 2018 10:58:21 +0000 (12:58 +0200)
committerChristian Franke <chris@opensourcerouting.org>
Wed, 5 Sep 2018 09:38:13 +0000 (11:38 +0200)
commit103e4a718fb6ddc1b8dab00cf87ea91b44dedf9e
treeb1b413cd52f9369737462d57a4fa83b232aaf101
parentdf0ba689ebf4960812bb4c65ea1b44236627f6ba
zebra: add a ZEBRA_FLAG_ONLINK so that routes bypass the is-unnumbered check

For OpenFabric operation, we need to be able to install routes via
interfaces without any IPv4 addresses configured. Introduce a flag
ZEBRA_FLAG_ONLINK which upper protocols can set on a route they send
towards zebra, to force the nexthops to be considered onlink.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
lib/zebra.h
zebra/zebra_rib.c