mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
sd-dhcp-client: add log message when a message is received
This commit is contained in:
parent
fe87807eaa
commit
897f720602
@ -1994,6 +1994,7 @@ static int client_receive_message_udp(
|
||||
return 0;
|
||||
}
|
||||
|
||||
log_dhcp_client(client, "Received message from UDP socket, processing.");
|
||||
(void) client_handle_message(client, message, len);
|
||||
return 0;
|
||||
}
|
||||
@ -2060,6 +2061,7 @@ static int client_receive_message_raw(
|
||||
|
||||
len -= DHCP_IP_UDP_SIZE;
|
||||
|
||||
log_dhcp_client(client, "Received message from RAW socket, processing.");
|
||||
(void) client_handle_message(client, &packet->dhcp, len);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user