diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-10-10 16:45:57 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-10-10 16:45:57 -0400 |
| commit | 0dc12c9003a865c7ee829543d40e8c285863abe8 (patch) | |
| tree | e7f38d2722d1c53a3f27ee0f982c41a86c4b4ea6 /zebra/zebra_nhg.c | |
| parent | 9c44816398d5a4710e06f0d7597538bf77aa94b1 (diff) | |
Revert "lib: register bgp link-state afi/safi"
This reverts commit 1642a68d60cfade4b2fce72aaef58dea700c65c3.
Diffstat (limited to 'zebra/zebra_nhg.c')
| -rw-r--r-- | zebra/zebra_nhg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 396e9acfc8..1879bafcac 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -2288,7 +2288,6 @@ static int nexthop_active(struct nexthop *nexthop, struct nhg_hash_entry *nhe, break; case AFI_UNSPEC: case AFI_L2VPN: - case AFI_LINKSTATE: case AFI_MAX: flog_err(EC_LIB_DEVELOPMENT, "%s: unknown address-family: %u", __func__, @@ -2332,7 +2331,6 @@ static int nexthop_active(struct nexthop *nexthop, struct nhg_hash_entry *nhe, break; case AFI_UNSPEC: case AFI_L2VPN: - case AFI_LINKSTATE: case AFI_MAX: assert(afi != AFI_IP && afi != AFI_IP6); break; |
