mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-06-04 06:41:31 +00:00
Fix bad comment on RouteFilter::allow trait method
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user