Browse Source

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

Dario Nieuwenhuis 3 năm trước cách đây
mục cha
commit
76d2fc139c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/socket/dhcpv4.rs

+ 2 - 2
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) {