mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-11 11:38:27 +02:00
dns-search parameters set on VPN connections should be merged with domains received through the VPN (which may be empty if the connection sets ignore-auto-dns). This is currently not the case because domains received by the VPN connection are only added through nm_l3_config_data_add_domain. If dns-search is unset, this behaves correctly because the structure built in _mgr_configs_data_construct in src/core/dns/nm-dns-manager.c correctly uses the domains from nm_l3_config_data_get_domains. However if dns-search is set, nm_l3_config_data_get_searches is no longer empty and it takes precedence because of the "n_searches > 0" condition. |
||
|---|---|---|
| .. | ||
| nm-vpn-connection.c | ||
| nm-vpn-connection.h | ||
| nm-vpn-manager.c | ||
| nm-vpn-manager.h | ||