network: handle DNS config
[petitboot] / lib / pb-config / pb-config.h
index 748b409ada3c04a5ff85602c55b33fc53291685a..6a64ef116670030783e685350b82313f24add494 100644 (file)
@@ -19,7 +19,6 @@ struct interface_config {
                struct {
                        char *address;
                        char *gateway;
-                       char *dns;
                } static_config;
        };
 };
@@ -27,6 +26,8 @@ struct interface_config {
 struct network_config {
        struct interface_config **interfaces;
        int                     n_interfaces;
+       const char              **dns_servers;
+       int                     n_dns_servers;
 };
 
 struct config {