network: handle DNS config
[petitboot] / lib / pb-config / storage-powerpc-nvram.c
index 734741e2cb08340ab9660745b10423a2725d6359..3ed3c46dbd1b716ec0643381f137698f880cfd97 100644 (file)
@@ -315,7 +315,7 @@ static void populate_network_config(struct powerpc_nvram_storage *nv,
                if (!tok)
                        break;
 
-               if (strncmp(tok, "dns,", strlen("dns,")))
+               if (!strncasecmp(tok, "dns,", strlen("dns,")))
                        parse_one_dns_config(config, tok + strlen("dns,"));
                else
                        parse_one_interface_config(config, tok);