mirror of https://github.com/dswd/vpncloud.git
Improve logging
This commit is contained in:
parent
7cfc77a2d8
commit
ab79ee58de
|
@ -718,7 +718,8 @@ impl<D: Device, P: Protocol, S: Socket, TS: TimeSource> GenericCloud<D, P, S, TS
|
||||||
Ok(res)
|
Ok(res)
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
warn!("Error in init message from peer {}: {}", addr_nice(src), err);
|
debug!("Init error from {}: {}", src, err);
|
||||||
|
info!("Ignoring invalid init message from peer {}", addr_nice(src));
|
||||||
return Ok(())
|
return Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue