diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-29 11:43:49 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-29 11:48:43 -0400 |
| commit | d4f8783d9575c86b6ae829cb27ee6118895edd0c (patch) | |
| tree | 7866f7f537d911c8c5c0f4bdd5844f629e55024f /lib/command.c | |
| parent | 615e608d76bd3e1acf1769c914142210ac88e3f7 (diff) | |
bgpd: Only supply ifindex for a v6 nexthop if LL
BGP is calculating a v6 routes nexthop as the nexthop address
+ an ifindex. The ifindex calculated comes from where we received
the route from as that we have to do this for LL addresses.
But a v6 address that is not a LL we do not need to provide
to zebra for nexthop resolution because a global address
by default can be looked up and resolved appropriately.
Modify the code so that we must have an ifindex for a v6 nexthop
if the address is LL, else don't pass the ifindex down to zebra.
Fixes: #1986
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
