diff options
author | Ronan Pigott <ronan@rjp.ie> | 2024-04-03 22:16:05 +0200 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2024-10-21 18:10:20 +0200 |
commit | 7823f8a784c0aacfee431bbb2bf8348d7beefcc8 (patch) | |
tree | 1fb89c7eee1770c70ac4e86dd224479b6c5868fd /src/libsystemd-network | |
parent | test/fuzz: add dnr packets (diff) | |
download | systemd-7823f8a784c0aacfee431bbb2bf8348d7beefcc8.tar.xz systemd-7823f8a784c0aacfee431bbb2bf8348d7beefcc8.zip |
network: add dnr resolvers to networkctl status json output
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/sd-dhcp6-lease.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-dhcp6-lease.c b/src/libsystemd-network/sd-dhcp6-lease.c index 22707b771d..2729984e30 100644 --- a/src/libsystemd-network/sd-dhcp6-lease.c +++ b/src/libsystemd-network/sd-dhcp6-lease.c @@ -491,7 +491,7 @@ static int dhcp6_lease_add_dnr(sd_dhcp6_lease *lease, const uint8_t *optval, siz res.addrs = new(union in_addr_union, n_addrs); if (!res.addrs) - return -ENOMEM + return -ENOMEM; for (size_t i = 0; i < n_addrs; i++) { union in_addr_union addr = {.in6 = addrs[i]}; |