Fix bad comment on RouteFilter::allow trait method

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet
2023-09-20 15:28:52 +02:00
parent 49eb9e95b0
commit 6486d3cc03
+1 -2
View File
@@ -4,8 +4,7 @@ use crate::{babel, subnet::Subnet};
/// configured filters on the local [`Router`](crate::router::Router) will actually be forwarded
/// to the [`Router`](crate::router::Router) for processing.
pub trait RouteUpdateFilter {
/// Judge an incoming update. This method takes a mutable reference to `self`, to allow it to
/// update internal state.
/// Judge an incoming update.
fn allow(&self, update: &babel::Update) -> bool;
}