summary refs log tree commit diff
path: root/src/core/nm-pacrunner-manager.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-02-10 11:50:34 +0100
committerMichael Biebl <biebl@debian.org>2023-02-10 11:50:34 +0100
commit1372848511cb896b80b51ed1a3e9606bd9816631 (patch)
tree674792b9385bdef935988894b45f06b2af39f88c /src/core/nm-pacrunner-manager.c
parent40ec077ea305994c1fc2130add6787ca0c73e2c6 (diff)
New upstream version 1.42.0 upstream/1.42.0
Diffstat (limited to 'src/core/nm-pacrunner-manager.c')
-rw-r--r--src/core/nm-pacrunner-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/nm-pacrunner-manager.c b/src/core/nm-pacrunner-manager.c
index 86a40632..80db755f 100644
--- a/src/core/nm-pacrunner-manager.c
+++ b/src/core/nm-pacrunner-manager.c
@@ -129,7 +129,7 @@ get_ip_domains(GPtrArray *domains, const NML3ConfigData *l3cd, int addr_family)
     char                      *cidr;
     guint                      num;
     guint                      i;
-    char                       sbuf[NM_UTILS_INET_ADDRSTRLEN];
+    char                       sbuf[NM_INET_ADDRSTRLEN];
     const NMPlatformIPAddress *address;
     const NMPlatformIPRoute   *route;
     const char *const         *strv;
@@ -144,7 +144,7 @@ get_ip_domains(GPtrArray *domains, const NML3ConfigData *l3cd, int addr_family)
 
     nm_l3_config_data_iter_ip_address_for_each (&ipconf_iter, l3cd, addr_family, &address) {
         cidr = g_strdup_printf("%s/%u",
-                               nm_utils_inet_ntop(addr_family, address->address_ptr, sbuf),
+                               nm_inet_ntop(addr_family, address->address_ptr, sbuf),
                                address->plen);
         g_ptr_array_add(domains, cidr);
     }
@@ -153,7 +153,7 @@ get_ip_domains(GPtrArray *domains, const NML3ConfigData *l3cd, int addr_family)
         if (NM_PLATFORM_IP_ROUTE_IS_DEFAULT(route))
             continue;
         cidr = g_strdup_printf("%s/%u",
-                               nm_utils_inet_ntop(addr_family, route->network_ptr, sbuf),
+                               nm_inet_ntop(addr_family, route->network_ptr, sbuf),
                                route->plen);
         g_ptr_array_add(domains, cidr);
     }