socket/dhcp: log incoming reprs as well as outgoing.

This commit is contained in:
Dario Nieuwenhuis 2021-10-14 19:41:10 +02:00
parent af4db615f5
commit 3b7100c501
1 changed files with 2 additions and 2 deletions

View File

@ -203,10 +203,10 @@ impl Dhcpv4Socket {
}; };
net_debug!( net_debug!(
"DHCP recv {:?} from {} ({})", "DHCP recv {:?} from {}: {:?}",
dhcp_repr.message_type, dhcp_repr.message_type,
src_ip, src_ip,
server_identifier dhcp_repr
); );
match (&mut self.state, dhcp_repr.message_type) { match (&mut self.state, dhcp_repr.message_type) {