summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2023-01-10 16:37:51 -0500
committerGitHub <noreply@github.com>2023-01-10 16:37:51 -0500
commit1eef2527d4bb88f29c55aa009fc1eaa9b18b42b0 (patch)
treef8f2b27c0410152e9550d5abdb2fbc1a6ca8ffeb
parentf931e35b59b6066b64006d6314cbf36a02954061 (diff)
parentf5540d6d4181ce038a615be22ae8ea4b9f2e76e1 (diff)
Merge pull request #12602 from opensourcerouting/fix/drop_deprecated_BGP_ATTR_AS_PATHLIMIT
bgpd: Drop deprecated BGP_ATTR_AS_PATHLIMIT path attribute
-rw-r--r--bgpd/bgp_attr.c1
-rw-r--r--bgpd/bgpd.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index 3d93e8a1ac..f5780eca4d 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -73,7 +73,6 @@ static const struct message attr_str[] = {
{BGP_ATTR_EXT_COMMUNITIES, "EXT_COMMUNITIES"},
{BGP_ATTR_AS4_PATH, "AS4_PATH"},
{BGP_ATTR_AS4_AGGREGATOR, "AS4_AGGREGATOR"},
- {BGP_ATTR_AS_PATHLIMIT, "AS_PATHLIMIT"},
{BGP_ATTR_PMSI_TUNNEL, "PMSI_TUNNEL_ATTRIBUTE"},
{BGP_ATTR_ENCAP, "ENCAP"},
{BGP_ATTR_OTC, "OTC"},
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index a75bfdf746..8697912314 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -1906,7 +1906,6 @@ struct bgp_nlri {
#define BGP_ATTR_EXT_COMMUNITIES 16
#define BGP_ATTR_AS4_PATH 17
#define BGP_ATTR_AS4_AGGREGATOR 18
-#define BGP_ATTR_AS_PATHLIMIT 21
#define BGP_ATTR_PMSI_TUNNEL 22
#define BGP_ATTR_ENCAP 23
#define BGP_ATTR_IPV6_EXT_COMMUNITIES 25