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