diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2016-12-13 09:15:04 +0800 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-20 16:40:21 +1100 |
commit | 1c3cb3b066bae9a981732d6ab868cee6df2136b4 (patch) | |
tree | 3fcab12720f4758d48f30ba0388e1d2a0db89b85 | |
parent | 5b33aaaaad68b890aacc3ddc4e47812a58d8c1e6 (diff) | |
download | petitboot-1c3cb3b066bae9a981732d6ab868cee6df2136b4.zip petitboot-1c3cb3b066bae9a981732d6ab868cee6df2136b4.tar.gz |
discover/status: Use full URL in parse status message
->conf_url is the base address, we want the actual loaded URL.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r-- | discover/pxe-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/pxe-parser.c b/discover/pxe-parser.c index c2d0ed5..046addb 100644 --- a/discover/pxe-parser.c +++ b/discover/pxe-parser.c @@ -296,7 +296,7 @@ static void pxe_conf_parse_cb(struct load_url_result *result, void *data) */ device_handler_status_dev_info(handler, conf->dc->device, _("Parsed PXE config from %s"), - pb_url_to_string(conf->dc->conf_url)); + pb_url_to_string(result->url)); talloc_free(buf); out_clean: |