On 06/07/2011 11:42 AM, Vratislav Podzimek wrote:
@@ -2441,6 +2445,10 @@ int add_and_activate_wifi_connection(char **iface, char *ssid, NM_SETTING_IP4_CONFIG_METHOD, NM_SETTING_IP4_CONFIG_METHOD_MANUAL, NM_SETTING_IP4_CONFIG_ADDRESSES, addresses, NULL); + if (dns) { + nbo_dns = ip_str_to_nbo(dns); + nm_setting_ip4_config_add_dns(s_ip, nbo_dns); + }
You should handle multiple nameservers here (comma separated, e.g. see loader/loader.c:320). Radek _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list