[quagga-dev 10580] Re: [PATCH 3/5] zebra: implement NEXTHOP_FLAG_ONLINK

Christian Franke chris at opensourcerouting.org
Fri Jul 5 19:02:05 BST 2013


On 07/05/2013 07:21 PM, Michael H Lambert wrote:
> On 5 Jul 2013, at 12:35, Christian Franke <chris at opensourcerouting.org> wrote:
> 
>> On Linux, the kernel will only allow for a route to be installed when
>> its gateway is directly attached according the kernel fib.
> 
> Should the changes to zebra/zebra_vty.c be conditionalized to only build under Linux or are they safe (and not misleading) on other platforms?

The changes should not break anything for other platforms.

The worst thing that may happen is that a nexthop shows up as "onlink"
in the RIB but does not actually get installed as "onlink" into the FIB.

Imho that solution is preferrable to introducing #ifdefs but if there is
a concensus that we should have that #ifdefed, so be it.

-Christian




More information about the Quagga-dev mailing list