mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 03:40:07 +01:00
ppp-manager: ip6: fix dns not being used
ipv6 DNS received on ppp interface were being ignored because their priority was not set. Fix this by using default priority in impl_ppp_manager_set_ip6_config(), as was done for ip4_config inb2e559fab2("core: initialize l3cd dns-priority for ppp and wwan") Fixes:58287cbcc0('core: rework IP configuration in NetworkManager using layer 3 configuration') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1022
This commit is contained in:
parent
431d139d15
commit
6991333bc0
1 changed files with 2 additions and 0 deletions
|
|
@ -659,6 +659,8 @@ impl_ppp_manager_set_ip6_config(NMDBusObject *obj,
|
|||
priv->ifindex,
|
||||
NM_IP_CONFIG_SOURCE_PPP);
|
||||
|
||||
nm_l3_config_data_set_dns_priority(l3cd, AF_INET6, 0);
|
||||
|
||||
address = (NMPlatformIP6Address){
|
||||
.plen = 64,
|
||||
.addr_source = NM_IP_CONFIG_SOURCE_PPP,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue