Some cleanups
This commit is contained in:
1 parent
f20ff59e78
commit
cf14fcd5f8
5 files changed
+6
-15
No files matched your search
+1
-2
@@ -83,7 +83,7 @@ pub trait PingListener {
|
||||
continue;
|
||||
}
|
||||
|
||||
let reply = match self.parse_packet(id, addr, buf, size) {
|
||||
let reply = match self.parse_packet(id, addr, buf) {
|
||||
Ok(val) => val,
|
||||
Err(e) => {
|
||||
error!(
|
||||
@@ -104,7 +104,6 @@ pub trait PingListener {
|
||||
id: u16,
|
||||
reflector: IpAddr,
|
||||
buf: &[u8],
|
||||
len: usize,
|
||||
) -> Result<PingReply, Box<dyn Error>>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user