summaryrefslogtreecommitdiff
path: root/lib/xref.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-11-04 08:01:14 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-11-04 08:05:44 -0400
commit6f77db57794d40e34b09f0049c2323c0b7f462a3 (patch)
tree0690bbf686998f3c70f0fcd9a07cd9b1fb43e8c2 /lib/xref.c
parentf154a68dbe0f489b72ce744ff48001e136c808bc (diff)
zebra: Send up ifindex for redistribution when appropriate
Currently the NEXTHOP_TYPE_IPV4 and NEXTHOP_TYPE_IPV6 are not sending up the resolved ifindex for the route. This is causing upper level protocols that have something like this: route-map FOO permit 10 match interface swp13 ! router ospf redistribute static ! ip route 4.5.6.7/32 10.10.10.10 where 10.10.10.10 resolves to interface swp13. The route-map will never match in this case. Since FRR has the resolved nexthop interface, FRR might as well send it up to be selected on by the upper level protocol as needed. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/xref.c')
0 files changed, 0 insertions, 0 deletions