1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

networkd: dhcp4 - fix copy-paste error

Reported by poma.
This commit is contained in:
Tom Gundersen 2014-08-12 23:12:09 +02:00
parent ccf1c0299f
commit 38de08a7e4

View File

@ -575,7 +575,7 @@ int dhcp4_configure(Link *link) {
assert(link);
assert(link->network);
assert(link->network->ipv4ll);
assert(IN_SET(link->network->dhcp, DHCP_SUPPORT_BOTH, DHCP_SUPPORT_V4));
r = sd_dhcp_client_new(&link->dhcp_client);
if (r < 0)