diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-06-13 22:00:55 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-06-13 23:00:52 +0200 |
commit | efdc73dae3e5d92b817e2418a0af6c43dfba877c (patch) | |
tree | ba2711d6c1ec109e858fad9be1983933b2cd6114 /src/network/networkd-link.c | |
parent | 855d111304114e922b34b6c4bc2a0b08766c2668 (diff) |
networkd: link - check returned value from set_lease_pool
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 81872f7cc6..baa0756e6f 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1723,6 +1723,8 @@ static int link_configure(Link *link) { pool_start.s_addr = htobe32(be32toh(address->in_addr.in.s_addr) + 1); r = sd_dhcp_server_set_lease_pool(link->dhcp_server, &pool_start, 32); + if (r < 0) + return r; break; } |