summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-dhcp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index d407b31b78..f83ff54369 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -221,7 +221,7 @@ int dhcp6_configure(Link *link) {
r = sd_dhcp6_client_set_information_request(client, true);
if (r < 0)
- return r;
+ goto error;
r = sd_dhcp6_client_set_mac(client,
(const uint8_t *) &link->mac,