[Xorp-cvs] XORP cvs commit: xorp/bgp
Andrea Bittau
abittau@icir.org
Wed, 27 Jul 2005 17:59:48 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau@xorpc.icir.org 2005-07-27 17:59:48 UTC
XORP CVS repository
Modified files:
bgp route_table_filter.cc route_table_policy.cc
Log message:
* get rid of assert in static filter table.
On a route_lookup, if a static filter modifies the route, it must not think it
had to be in cache. The policy filter could have dropped that modified route
before it reached cache!
Policy table has this assert.
* On lookup route, rtmsg were created with a NULL peer handler. That is not
good, as policies may match neighbor and screw up when filtering in
lookup_route.
How do we obtain the peerhandle? Walk up the tables until ribin and get it
from there. A bit of a hack I know...
Revision Changes Path
1.32 +6 -1; commitid: 721c42e7cb227ea6; xorp/bgp/route_table_filter.cc
1.10 +16 -6; commitid: 721c42e7cb227ea6; xorp/bgp/route_table_policy.cc