about summary refs log tree commit diff
path: root/src/core/devices/wwan
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-03-07 21:31:48 +0100
committerMichael Biebl <biebl@debian.org>2022-03-07 21:31:48 +0100
commitb002c8cf4a4edaf7067563fc1d59545b5c88cc99 (patch)
tree6818612f86964c1dd79bb373feb4f443eeb2dd69 /src/core/devices/wwan
parenta31332e76bee4c5977e2ef9daeeddb205bad27ea (diff)
parent4f887bccf1cde84106588536584a2d54a5b4e6e5 (diff)
Update upstream source from tag 'upstream/1.36.2'
Update to upstream version '1.36.2'
with Debian dir ababed5cf88a964e7aac789b48238ba3cf57f0b4
Diffstat (limited to 'src/core/devices/wwan')
-rw-r--r--src/core/devices/wwan/nm-modem-broadband.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/devices/wwan/nm-modem-broadband.c b/src/core/devices/wwan/nm-modem-broadband.c
index f5336d37..b585652e 100644
--- a/src/core/devices/wwan/nm-modem-broadband.c
+++ b/src/core/devices/wwan/nm-modem-broadband.c
@@ -1032,6 +1032,7 @@ stage3_ip_config_start(NMModem *modem, int addr_family, NMModemIPMethod ip_metho
         l3cd = nm_l3_config_data_new(nm_platform_get_multi_idx(NM_PLATFORM_GET),
                                      ifindex,
                                      NM_IP_CONFIG_SOURCE_WWAN);
+        nm_l3_config_data_set_dns_priority(l3cd, AF_INET, 0);
 
         address = (NMPlatformIP4Address){
             .address      = address_network,
@@ -1118,6 +1119,7 @@ stage3_ip_config_start(NMModem *modem, int addr_family, NMModemIPMethod ip_metho
         l3cd = nm_l3_config_data_new(nm_platform_get_multi_idx(NM_PLATFORM_GET),
                                      ifindex,
                                      NM_IP_CONFIG_SOURCE_WWAN);
+        nm_l3_config_data_set_dns_priority(l3cd, AF_INET6, 0);
 
         do_auto = TRUE;