diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-10-10 16:45:57 -0400 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-11 05:02:54 +0000 |
| commit | 0c91f45d96e3652abba22442a21e84fa92d26077 (patch) | |
| tree | 99e2ef44eecc6c994e584e49393f3a3e84b1b709 /lib/zebra.h | |
| parent | 0877b3768374022bf765befa0442f7302e453c47 (diff) | |
Revert "lib: register bgp link-state afi/safi"
This reverts commit 1642a68d60cfade4b2fce72aaef58dea700c65c3.
(cherry picked from commit 0dc12c9003a865c7ee829543d40e8c285863abe8)
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index cd0b72834c..ecc87f58f1 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -326,14 +326,13 @@ struct in_pktinfo { #define INADDR_LOOPBACK 0x7f000001 /* Internet address 127.0.0.1. */ #endif -/* Address family numbers. */ +/* Address family numbers from RFC1700. */ typedef enum { AFI_UNSPEC = 0, AFI_IP = 1, AFI_IP6 = 2, AFI_L2VPN = 3, - AFI_LINKSTATE = 4, /* BGP-LS RFC 7752 */ - AFI_MAX = 5, + AFI_MAX = 4 } afi_t; #define IS_VALID_AFI(a) ((a) > AFI_UNSPEC && (a) < AFI_MAX) @@ -348,9 +347,7 @@ typedef enum { SAFI_EVPN = 5, SAFI_LABELED_UNICAST = 6, SAFI_FLOWSPEC = 7, - SAFI_LINKSTATE = 8, /* BGP-LS RFC 7752 */ - SAFI_LINKSTATE_VPN = 9, /* BGP-LS RFC 7752 */ - SAFI_MAX = 10, + SAFI_MAX = 8 } safi_t; #define FOREACH_AFI_SAFI(afi, safi) \ |
