mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 14:48:22 +00:00
Fix typo in ConsoleLogger
This commit is contained in:
parent
290f236157
commit
908ff3689d
1 changed files with 3 additions and 3 deletions
|
@ -44,14 +44,14 @@ pub trait Logger {
|
|||
|
||||
pub struct ConsoleLogger {
|
||||
arp: bool,
|
||||
_eth: bool,
|
||||
eth: bool,
|
||||
}
|
||||
|
||||
impl ConsoleLogger {
|
||||
pub fn new() -> Self {
|
||||
ConsoleLogger {
|
||||
arp: true,
|
||||
_eth: false,
|
||||
eth: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ impl Logger for ConsoleLogger {
|
|||
self.arp
|
||||
}
|
||||
fn eth_enabled(&self) -> bool {
|
||||
self.arp
|
||||
self.eth
|
||||
}
|
||||
fn arp_recv_whohas(&self, p: &ArpPacket) {
|
||||
println!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue