discover: Remove unnecessary event passing
[petitboot] / lib / pb-config / storage-test.c
index bdb1d0dec2153c46d7c5a49f25dcdef13a7a6ad0..3114712b4825cb60625ac3d76640004e531fd2fa 100644 (file)
@@ -22,6 +22,7 @@ struct interface_config net2 = {
 };
 
 struct interface_config *interface_configs[] = { &net1, &net2 };
+const char *dns_servers[] = { "192.168.1.1", "192.168.1.2" };
 
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
 
@@ -30,6 +31,8 @@ struct config test_config = {
        .network = {
                .interfaces = interface_configs,
                .n_interfaces = ARRAY_SIZE(interface_configs),
+               .dns_servers = dns_servers,
+               .n_dns_servers = ARRAY_SIZE(dns_servers),
        }
 };