summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-04-24 08:18:35 +0200
committerThomas Haller <thaller@redhat.com>2020-04-24 10:09:50 +0200
commita2956db2ee6eccbd6ee60a2dbc5752491a937d97 (patch)
tree5a8401e5f3da51e01fdbe1a3af7677b99ba95788
parentdb645623eedf55bd7ad612cb77c73f8e22a1fe34 (diff)
downloadNetworkManager-a2956db2ee6eccbd6ee60a2dbc5752491a937d97.tar.gz
dhcp: abort on error setting DHCP MUD URL option for nettools
-rw-r--r--src/dhcp/nm-dhcp-nettools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp/nm-dhcp-nettools.c b/src/dhcp/nm-dhcp-nettools.c
index e078cf39b2..8b98447b10 100644
--- a/src/dhcp/nm-dhcp-nettools.c
+++ b/src/dhcp/nm-dhcp-nettools.c
@@ -1351,6 +1351,7 @@ ip4_start (NMDhcpClient *client,
if (r) {
nm_utils_error_set_errno (error, r,
"failed to set MUD URL: %s");
+ return FALSE;
}
}
hostname = nm_dhcp_client_get_hostname (client);