fix: added a default route for MAC addresses
there were issues with MAC addresses not having a valid route when it couldn't find the right route
This commit is contained in:
@@ -200,6 +200,10 @@ impl<T: State> Interface<T> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn name(&self) -> &str {
|
||||
std::str::from_utf8(self.dev_name.as_bytes()).unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Disabled> Interface<T> {
|
||||
|
||||
Reference in New Issue
Block a user