summary refs log tree commit diff
path: root/src/core/ppp/nm-ppp-manager.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
committerMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
commit8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (patch)
treef706478d189d54c6532e8863d4b0d5ff5575af60 /src/core/ppp/nm-ppp-manager.c
parent818258cf34b83fbc754633295e1052d4752d7b15 (diff)
New upstream version 1.51.90 upstream/1.51.90
Diffstat (limited to 'src/core/ppp/nm-ppp-manager.c')
-rw-r--r--src/core/ppp/nm-ppp-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ppp/nm-ppp-manager.c b/src/core/ppp/nm-ppp-manager.c
index fbc5d075..2eebd17d 100644
--- a/src/core/ppp/nm-ppp-manager.c
+++ b/src/core/ppp/nm-ppp-manager.c
@@ -547,7 +547,7 @@ impl_ppp_manager_set_ip4_config(NMDBusObject                      *obj,
 
     nm_l3_config_data_set_mtu(l3cd, mtu);
 
-    address = (NMPlatformIP4Address){
+    address = (NMPlatformIP4Address) {
         .plen = 32,
     };
 
@@ -583,7 +583,7 @@ impl_ppp_manager_set_ip4_config(NMDBusObject                      *obj,
 
     if (g_variant_lookup(config_dict, NM_PPP_IP4_CONFIG_DNS, "au", &iter)) {
         while (g_variant_iter_next(iter, "u", &u32))
-            nm_l3_config_data_add_nameserver_detail(l3cd, AF_INET, &u32, NULL);
+            nm_l3_config_data_add_nameserver_addr(l3cd, AF_INET, &u32);
         g_variant_iter_free(iter);
     }
 
@@ -662,7 +662,7 @@ impl_ppp_manager_set_ip6_config(NMDBusObject                      *obj,
 
     nm_l3_config_data_set_mtu(l3cd, mtu);
 
-    address = (NMPlatformIP6Address){
+    address = (NMPlatformIP6Address) {
         .plen        = 64,
         .addr_source = NM_IP_CONFIG_SOURCE_PPP,
     };