summaryrefslogtreecommitdiffstats
path: root/tests/bgpd/test_peer_attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bgpd/test_peer_attr.c')
-rw-r--r--tests/bgpd/test_peer_attr.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/tests/bgpd/test_peer_attr.c b/tests/bgpd/test_peer_attr.c
index bc6eba9..12c2f11 100644
--- a/tests/bgpd/test_peer_attr.c
+++ b/tests/bgpd/test_peer_attr.c
@@ -262,23 +262,9 @@ static struct test_peer_attr test_peer_attrs[] = {
.type = PEER_AT_GLOBAL_FLAG,
},
{
- .cmd = "capability extended-nexthop",
- .u.flag = PEER_FLAG_CAPABILITY_ENHE,
- .type = PEER_AT_GLOBAL_FLAG,
- .o.invert_peer = true,
- .o.use_iface_peer = true,
- },
- {
- .cmd = "capability software-version",
- .u.flag = PEER_FLAG_CAPABILITY_SOFT_VERSION,
- .type = PEER_AT_GLOBAL_FLAG,
- },
- {
.cmd = "capability software-version",
.u.flag = PEER_FLAG_CAPABILITY_SOFT_VERSION,
.type = PEER_AT_GLOBAL_FLAG,
- .o.invert_peer = true,
- .o.use_iface_peer = true,
},
{
.cmd = "description",
@@ -297,9 +283,11 @@ static struct test_peer_attr test_peer_attrs[] = {
.type = PEER_AT_GLOBAL_FLAG,
},
{
- .cmd = "enforce-first-as",
- .u.flag = PEER_FLAG_ENFORCE_FIRST_AS,
+ .cmd = "capability fqdn",
+ .u.flag = PEER_FLAG_CAPABILITY_FQDN,
.type = PEER_AT_GLOBAL_FLAG,
+ .o.invert_peer = true,
+ .o.invert_group = true,
},
{
.cmd = "local-as",