Skip to content

Commit

Permalink
Run fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernyoke committed Nov 20, 2022
1 parent 1b3259d commit 51e2269
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/scanner/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,11 @@ impl Router {
pub(crate) fn new() -> Router {
return Router {
ipv4_routes: vec![],
ipv6_routes: vec![]
ipv6_routes: vec![],
};
}

pub(crate) fn get_network_interface_address(
&self,
_: IpAddr,
) -> Result<IpAddr, anyhow::Error> {
pub(crate) fn get_network_interface_address(&self, _: IpAddr) -> Result<IpAddr, anyhow::Error> {
get_default_network_interface_address()
}
}
Expand Down

0 comments on commit 51e2269

Please sign in to comment.