mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 04:00:31 +01:00
wwan: re-enable IPv6 once the modem returns a IPv6 configuration
IPv6 gets disabled at the beginning of the activation in ip_ifindex_changed_cb(). Enable it again when the modem returns a IPv6 configuration. Fixes:58287cbcc0('core: rework IP configuration in NetworkManager using layer 3 configuration') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/944 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1170 (cherry picked from commit586afdfc52)
This commit is contained in:
parent
d2afa419cc
commit
8b626d9e8b
1 changed files with 3 additions and 1 deletions
|
|
@ -181,8 +181,10 @@ modem_new_config(NMModem *modem,
|
|||
return;
|
||||
}
|
||||
|
||||
if (!IS_IPv4)
|
||||
if (!IS_IPv4) {
|
||||
priv->iid = iid ? *iid : ((NMUtilsIPv6IfaceId) NM_UTILS_IPV6_IFACE_ID_INIT);
|
||||
nm_device_sysctl_ip_conf_set(device, AF_INET6, "disable_ipv6", "0");
|
||||
}
|
||||
|
||||
if (do_auto) {
|
||||
if (IS_IPv4)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue