summaryrefslogtreecommitdiffstats
path: root/discover/pxe-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/pxe-parser.c')
-rw-r--r--discover/pxe-parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/discover/pxe-parser.c b/discover/pxe-parser.c
index 662716a..c300b69 100644
--- a/discover/pxe-parser.c
+++ b/discover/pxe-parser.c
@@ -28,10 +28,9 @@ static void pxe_process_pair(struct conf_context *ctx,
opt = discover_boot_option_create(ctx->dc, ctx->dc->device);
ctx->parser_info = opt;
- opt->option->device_id = ctx->dc->device->device->id;
opt->option->name = talloc_strdup(opt, value);
opt->option->id = talloc_asprintf(opt, "%s@%p",
- opt->option->device_id, opt);
+ ctx->dc->device->device->id, opt);
return;
}
OpenPOWER on IntegriCloud