about summary refs log tree commit diff
path: root/src/core/dhcp
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2026-05-14 19:21:28 +0200
committerMichael Biebl <biebl@debian.org>2026-05-14 19:21:28 +0200
commit4312005496b2f64293dd5a34fd81e4cba5a19c5b (patch)
tree98c36475837c1f15559d4850a9a0368923fcee04 /src/core/dhcp
parentd877daadf2a7d90283a4b48a48fe854d1e9c78a6 (diff)
parent869e9027026cdbb15d4e4a6327ff41d2697858eb (diff)
Update upstream source from tag 'upstream/1.56.1'
Update to upstream version '1.56.1'
with Debian dir ea0a29e73fef8e57cffc45da43243a29de64bb9e
Diffstat (limited to 'src/core/dhcp')
-rw-r--r--src/core/dhcp/nm-dhcp-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/dhcp/nm-dhcp-utils.c b/src/core/dhcp/nm-dhcp-utils.c
index 949d8720..8a9bd58c 100644
--- a/src/core/dhcp/nm-dhcp-utils.c
+++ b/src/core/dhcp/nm-dhcp-utils.c
@@ -32,11 +32,11 @@ ip4_process_dhcpcd_rfc3442_routes(const char     *iface,
                                   in_addr_t       address,
                                   guint32        *out_gwaddr)
 {
-    gs_free const char **routes = NULL;
-    const char         **r;
-    gboolean             have_routes = FALSE;
+    gs_free char **routes = NULL;
+    char         **r;
+    gboolean       have_routes = FALSE;
 
-    routes = nm_strsplit_set(str, " ");
+    routes = (char **) nm_strsplit_set(str, " ");
     if (!routes)
         return FALSE;