diff options
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index e674b3b12c..accb42bf37 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -311,7 +311,7 @@ static int link_enter_configured(Link *link) { log_debug_link(link, "offering DHCPv4 leases"); - r = sd_dhcp_server_set_address(link->dhcp_server, &address->in_addr.in); + r = sd_dhcp_server_set_address(link->dhcp_server, &address->in_addr.in, address->prefixlen); if (r < 0) return r; |