]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/pb-config.c
discover: Handle and track plugin_options
[petitboot] / lib / pb-config / pb-config.c
index 2f9af286b770aec0e5083a1a92296fd642e27fe3..7fa925c216b8992f2eb2803aa6ef662c43d33c6c 100644 (file)
@@ -63,6 +63,9 @@ struct config *config_copy(void *ctx, const struct config *src)
                dest->network.dns_servers[i] = talloc_strdup(dest,
                                src->network.dns_servers[i]);
 
+       dest->http_proxy = talloc_strdup(dest, src->http_proxy);
+       dest->https_proxy = talloc_strdup(dest, src->https_proxy);
+
        dest->n_autoboot_opts = src->n_autoboot_opts;
        dest->autoboot_opts = talloc_array(dest, struct autoboot_option,
                                        dest->n_autoboot_opts);