diff options
| author | Michael Biebl <biebl@debian.org> | 2022-06-17 22:04:36 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-06-17 22:04:36 +0200 |
| commit | 24b6b46aab0a00e1ef111aaff05f068ec8ad3d5b (patch) | |
| tree | 473dc5914401fdf1094777b5f557da0fb0bd133c /src/core/ppp | |
| parent | b3b81846241e51b3e2bfb34c1b5af385cdcdf894 (diff) | |
| parent | f7c750061dab327e638c0129cfafd5b2215b3a2e (diff) | |
Update upstream source from tag 'upstream/1.38.2'
Update to upstream version '1.38.2' with Debian dir c1f50e9f3555d9d539c7417659080741eabd1208
Diffstat (limited to 'src/core/ppp')
| -rw-r--r-- | src/core/ppp/nm-ppp-manager.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/ppp/nm-ppp-manager.c b/src/core/ppp/nm-ppp-manager.c index 896c233d..5c2b7681 100644 --- a/src/core/ppp/nm-ppp-manager.c +++ b/src/core/ppp/nm-ppp-manager.c @@ -642,6 +642,7 @@ impl_ppp_manager_set_ip6_config(NMDBusObject *obj, nm_auto_unref_l3cd_init NML3ConfigData *l3cd = NULL; NMPlatformIP6Address address; struct in6_addr a; + guint32 mtu; NMUtilsIPv6IfaceId iid = NM_UTILS_IPV6_IFACE_ID_INIT; gboolean has_peer = FALSE; gs_unref_variant GVariant *config_dict = NULL; @@ -652,13 +653,16 @@ impl_ppp_manager_set_ip6_config(NMDBusObject *obj, nm_clear_g_source(&priv->ppp_timeout_handler); - if (!set_ip_config_common(self, config_dict, NULL)) + if (!set_ip_config_common(self, config_dict, &mtu)) goto out; l3cd = nm_l3_config_data_new(nm_platform_get_multi_idx(NM_PLATFORM_GET), priv->ifindex, NM_IP_CONFIG_SOURCE_PPP); + nm_l3_config_data_set_mtu(l3cd, mtu); + nm_l3_config_data_set_dns_priority(l3cd, AF_INET6, 0); + address = (NMPlatformIP6Address){ .plen = 64, .addr_source = NM_IP_CONFIG_SOURCE_PPP, |