diff options
| author | vivek <vivek@cumulusnetworks.com> | 2020-05-15 16:22:01 -0700 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2020-05-15 16:22:01 -0700 |
| commit | 12b4d77babf1cc5a67fe44fa83af28d1d9fc8a51 (patch) | |
| tree | 3bd71ad2a422e2c1f9ea542258dbde4d14268b22 /zebra/interface.c | |
| parent | 36caef199ae3af4efddda7b5d2a6d9f43b8f58c4 (diff) | |
zebra: Trust onlink flag for nexthop active resolution
When checking if a nexthop is active, if it has been marked as onlink,
just check on the presence and status of the nexthop's interface. When
handling client request to create a route, if the client says that the
nexthop is onlink, trust it; when internally (in zebra) determining
that the nexthop is onlink, ensure it is only done in the case of an
interface with a /32 IP address which is the case for OSPF unnumbered.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions
