After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752193 - dhcp search domains ignored since commit 2a5eea7
dhcp search domains ignored since commit 2a5eea7
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: IP and DNS config
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-07-09 20:46 UTC by Fabrice Bellet
Modified: 2015-07-09 21:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabrice Bellet 2015-07-09 20:46:23 UTC
Commit 2a5eea7e769 introduces a regression in dhcp domain-search handling, due to missing braces around the code block evaluated when nm_setting_ip_config_get_ignore_auto_dns (s_ip4) is true (also for ipv6 in the same commit):

+		if (nm_setting_ip_config_get_ignore_auto_dns (s_ip4))
+			nm_ip4_config_reset_nameservers (composite);
+			nm_ip4_config_reset_domains (composite);
+			nm_ip4_config_reset_searches (composite);