X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Fpb-config%2Fpb-config.c;h=7fa925c216b8992f2eb2803aa6ef662c43d33c6c;hp=86f14c9082baddb9e7bce67fc62f764a76b34f4b;hb=98b04aa42a4f1dc8e585f00d75c3b28d9e9aa2a9;hpb=9f42e56fc5968fcb34edfad017adb73960c2bb61 diff --git a/lib/pb-config/pb-config.c b/lib/pb-config/pb-config.c index 86f14c9..7fa925c 100644 --- a/lib/pb-config/pb-config.c +++ b/lib/pb-config/pb-config.c @@ -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); @@ -92,6 +95,7 @@ struct config *config_copy(void *ctx, const struct config *src) if (src->boot_console) dest->boot_console = talloc_strdup(dest, src->boot_console); + dest->manual_console = src->manual_console; if (src->lang && strlen(src->lang)) dest->lang = talloc_strdup(dest, src->lang);