|
|
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)
| NexthopPeerCheckFilter |
const InternalMessage<A>*
filter (const InternalMessage<A> *rtmsg,
bool &modified)
| filter |
[const]
Reimplemented from BGPRouteFilter.