浏览代码

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!(
         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) {