From 3b7100c5010c827b38264a8d1f8055792256a470 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 14 Oct 2021 19:41:10 +0200 Subject: [PATCH] socket/dhcp: log incoming reprs as well as outgoing. --- src/socket/dhcpv4.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/socket/dhcpv4.rs b/src/socket/dhcpv4.rs index 19ee093..29f644f 100644 --- a/src/socket/dhcpv4.rs +++ b/src/socket/dhcpv4.rs @@ -203,10 +203,10 @@ impl Dhcpv4Socket { }; net_debug!( - "DHCP recv {:?} from {} ({})", + "DHCP recv {:?} from {}: {:?}", dhcp_repr.message_type, src_ip, - server_identifier + dhcp_repr ); match (&mut self.state, dhcp_repr.message_type) {