Re: [PATCH 2/2] enable dns settings of wireless connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux