mirror of
https://github.com/pj1234678/RustyDHCP.git
synced 2025-10-28 11:49:46 +08:00
Run cargo fmt
This commit is contained in:
@@ -25,7 +25,9 @@ impl server::Handler for MyServer {
|
||||
};
|
||||
println!(
|
||||
"{}\t{}\t{}\tOnline",
|
||||
time::OffsetDateTime::try_now_local().unwrap().format("%Y-%m-%dT%H:%M:%S"),
|
||||
time::OffsetDateTime::try_now_local()
|
||||
.unwrap()
|
||||
.format("%Y-%m-%dT%H:%M:%S"),
|
||||
chaddr(&in_packet.chaddr),
|
||||
Ipv4Addr::from(req_ip)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user