class NexthopPeerCheckFilter

BGPRouteFilter rewrites the nexthop if it matches the peers address. More...

 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Detailed Description

NexthopPeerCheckFilter is a BGPRouteFilter that checks that the nexthop is not equal to the peers address. If the nexthop is equal to the peers address then the nexthop is rewritten to the routers nexthop address.

 NexthopPeerCheckFilter (const A &local_nexthop, const A &peer_address)


bool  filter (InternalMessage<A>& rtmsg)



Reimplemented from BGPRouteFilter.

Generated by: pavlin on on Wed Jan 7 19:11:04 2009, using kdoc 2.0a54+XORP.