diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-08-20 15:08:01 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:43 -0400 |
| commit | 4d21c7c0868e16d37a795dd4da999a1707812c56 (patch) | |
| tree | bdaafbbca2735953a0a48a06b04384d98f202404 /lib/xref.c | |
| parent | 1b366e63beb7fc9b758c6a61d918c4bf14005bd8 (diff) | |
zebra: Only use passed afi for blackhole/ifindex nexthops
Only used the afi passed into `zebra_nhg_find()` for nexthops
that are blackhole/ifindex. Others should use the type actually declared
in the nexthop struct itself.
Basically, nexthop objects of type blackhole/ifindex in the kernel must
have an address family, they cannot be ambigious and be shared.
This is some requirement in the linux ip core code.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/xref.c')
0 files changed, 0 insertions, 0 deletions
