log connections
This commit is contained in:
parent
eb2f66a7b6
commit
894080500b
@ -228,6 +228,12 @@ async fn connect(
|
||||
client: &mut TcpStream,
|
||||
caller: &mut TcpStream,
|
||||
) -> eyre::Result<()> {
|
||||
info!(
|
||||
client_addr = print_addr(client),
|
||||
caller_addr = print_addr(caller),
|
||||
"connecting clients"
|
||||
);
|
||||
|
||||
packet.header = Header {
|
||||
kind: PacketKind::Reject.raw(),
|
||||
length: 4,
|
||||
|
Loading…
Reference in New Issue
Block a user