print address when sending of response failed
This commit is contained in:
parent
96b063e345
commit
4343d68c32
@ -327,7 +327,8 @@ impl NtpServer {
|
||||
println!("Thread #{} sent {:?}", thread_id, response);
|
||||
}
|
||||
},
|
||||
Err(e) => println!("Thread #{} failed to send packet: {}", thread_id, e)
|
||||
Err(e) => println!("Thread #{} failed to send packet to {}: {}",
|
||||
thread_id, response.remote_addr, e)
|
||||
}
|
||||
},
|
||||
None => {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user