summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-12-18 15:51:38 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-12-18 15:51:38 +0000
commita2d857b386ce67105a5e6b313baa6c7fbf68d45f (patch)
tree2d9e843c761ac0f23c0351a2cedc52389fd1fbfa /usr.sbin/bgpd/rde.c
parent72acd1253a98e26198842a0b9f56858d381ad542 (diff)
Merge rde_filter_community() with community_match() and kill a useless
indirection.
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 442032d202c..d0d9558e92b 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.277 2009/12/16 15:40:55 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.278 2009/12/18 15:51:37 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1938,7 +1938,7 @@ rde_dump_filter(struct prefix *p, struct ctl_show_rib_request *req)
!aspath_match(p->aspath->aspath, req->as.type, req->as.as))
return;
if (req->type == IMSG_CTL_SHOW_RIB_COMMUNITY &&
- !rde_filter_community(p->aspath, req->community.as,
+ !community_match(p->aspath, req->community.as,
req->community.type))
return;
rde_dump_rib_as(p, p->aspath, req->pid, req->flags);