1
1
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:
Yu Watanabe 2021-12-18 09:53:27 +09:00
parent fe87807eaa
commit 897f720602

View File

@ -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;
}