diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-02-03 16:40:58 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-02-03 16:40:58 +0000 |
commit | 600c7ff5380f80544f5b9fdd595d757303c013fe (patch) | |
tree | 18683f7611415c483778aecf9bfc333c679202d3 /usr.sbin | |
parent | 0d744d54097bc87cec20b8d48fc7368713c6caf5 (diff) |
Doh! Fix stupid copy paste error. Setting the community type to the AS instead
of the more obvious type produces really funny errors and gives you some happy
hours of debugging.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/rde_filter.c | 6 |
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; } |