diff options
Diffstat (limited to 'src/libsystemd-dhcp/dhcp-client.c')
-rw-r--r-- | src/libsystemd-dhcp/dhcp-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-dhcp/dhcp-client.c b/src/libsystemd-dhcp/dhcp-client.c index fe41067600..043d574c10 100644 --- a/src/libsystemd-dhcp/dhcp-client.c +++ b/src/libsystemd-dhcp/dhcp-client.c @@ -726,7 +726,7 @@ static int client_receive_ack(sd_dhcp_client *client, DHCPPacket *offer, lease = new0(DHCPLease, 1); if (!lease) - return -ENOBUFS; + return -ENOMEM; len = len - DHCP_IP_UDP_SIZE; r = dhcp_option_parse(&offer->dhcp, len, client_parse_offer, lease); |