Przeglądaj źródła

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

Dario Nieuwenhuis 3 lat temu
rodzic
commit
76d2fc139c
1 zmienionych plików z 2 dodań i 2 usunięć
  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) {