mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
network: drop outdated TODO comment
Follow-up for 59aa622013277cfe6349d0789a7a00ad2b884902.
This commit is contained in:
parent
b0f83c2d82
commit
05c6311291
@ -391,12 +391,6 @@ static int dhcp4_server_configure(Link *link) {
|
||||
if (r < 0)
|
||||
return log_link_error_errno(link, r, "Failed to configure address pool for DHCPv4 server instance: %m");
|
||||
|
||||
/* TODO:
|
||||
r = sd_dhcp_server_set_router(link->dhcp_server, &main_address->in_addr.in);
|
||||
if (r < 0)
|
||||
return r;
|
||||
*/
|
||||
|
||||
if (link->network->dhcp_server_max_lease_time_usec > 0) {
|
||||
r = sd_dhcp_server_set_max_lease_time(link->dhcp_server,
|
||||
DIV_ROUND_UP(link->network->dhcp_server_max_lease_time_usec, USEC_PER_SEC));
|
||||
|
Loading…
x
Reference in New Issue
Block a user