diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-08-21 19:43:43 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-08-23 20:25:45 -0300 |
| commit | b30f3b91d4d91e5d58f2f999e2f673aeaf15d653 (patch) | |
| tree | d021adecbd9e12f64135677091a513d0f270b366 /python/clidef.py | |
| parent | 744899219f4214398a3078874a341000a372e29d (diff) | |
ospf6d: fix regression detected by topotest
With the old API, ospf6d always needed to send a nexthop address and a
nexthop interface when advertising a route to zebra. In the case where
the nexthop address didn't exist (e.g. connected route), zebra would
take care of ignore it in the zread_ipv6_add() function.
Now, if we have a nexthop interface but not a nexthop address, we not
only can but we should send a nexthop of type NEXTHOP_TYPE_IFINDEX. zebra
won't fix bad nexthops anymore because the clients have a proper API to
send correct messages.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions
