[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Claudio Jeker <claudio_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 10 Jan 2006 09:11:12 -0700 (MST)
Module name: src
Changes by: claudio_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/01/10 09:11:12
usr.sbin/bgpd : rde.h rde_attr.c rde_filter.c
The attributes cache broke the set community filterset because community_set()
modified the attribute data directly and corrupted the cache by doing it.
It is no longer allowed to modify attributes via attr_optget() -> change
attr->data. Instead remove the old attribute from the aspath and then add
a new modifed one again. Included in this change is the removal of a "feature"
that allowed only one community per AS. If you had problems to add multiple
communities via filters then this was the problem. Looks good Henning.