소스 검색

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

Dario Nieuwenhuis 3 년 전
부모
커밋
76d2fc139c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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) {