[PATCH 19/29] discover/status: Use full URL in parse status message
Samuel Mendoza-Jonas
sam at mendozajonas.com
Mon Dec 19 15:19:05 AEDT 2016
From: Jeremy Kerr <jk at ozlabs.org>
->conf_url is the base address, we want the actual loaded URL.
Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
discover/pxe-parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/discover/pxe-parser.c b/discover/pxe-parser.c
index 90af66b..eab6c6a 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:
--
2.10.2
More information about the Petitboot
mailing list