summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpd/rde_filter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde_filter.c b/usr.sbin/bgpd/rde_filter.c
index 9917a2beec1..56d96a4d4bf 100644
--- a/usr.sbin/bgpd/rde_filter.c
+++ b/usr.sbin/bgpd/rde_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_filter.c,v 1.43 2006/02/02 14:06:05 claudio Exp $ */
+/* $OpenBSD: rde_filter.c,v 1.44 2006/02/03 16:40:57 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -181,7 +181,7 @@ rde_apply_set(struct rde_aspath *asp, struct filter_set_head *sh,
type = peer->conf.remote_as;
break;
default:
- type = set->action.community.as;
+ type = set->action.community.type;
break;
}
@@ -241,7 +241,7 @@ rde_filter_match(struct filter_rule *f, struct rde_aspath *asp,
type = peer->conf.remote_as;
break;
default:
- type = f->match.community.as;
+ type = f->match.community.type;
break;
}