diff options
| author | 2018-12-19 15:27:29 +0000 | |
|---|---|---|
| committer | 2018-12-19 15:27:29 +0000 | |
| commit | 08f0bc5b4c2912145a8a896a132851a7905571d9 (patch) | |
| tree | de00356921dd756cf474ab6d9e633afd83a30100 /usr.sbin/bgpctl/bgpctl.c | |
| parent | Fold ext-communities into filter_community so that bgpd can match (diff) | |
| download | wireguard-openbsd-08f0bc5b4c2912145a8a896a132851a7905571d9.tar.xz wireguard-openbsd-08f0bc5b4c2912145a8a896a132851a7905571d9.zip | |
Adjust bgpctl now that filter_extcommunity is no more.
OK benno@
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.c')
| -rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 2c2105bb4ea..95ade2feb23 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.226 2018/12/11 09:03:36 claudio Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.227 2018/12/19 15:27:29 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -281,8 +281,6 @@ main(int argc, char *argv[]) ribreq.as = res->as; if (res->community.type != COMMUNITY_TYPE_NONE) ribreq.community = res->community; - if (res->extcommunity.flags == EXT_COMMUNITY_FLAG_VALID) - ribreq.extcommunity = res->extcommunity; ribreq.neighbor = neighbor; strlcpy(ribreq.rib, res->rib, sizeof(ribreq.rib)); ribreq.aid = res->aid; |
