[19/29] discover/status: Use full URL in parse status message
diff mbox

Message ID 20161219041915.30497-20-sam@mendozajonas.com
State Accepted
Headers show

Commit Message

Samuel Mendoza-Jonas Dec. 19, 2016, 4:19 a.m. UTC
From: Jeremy Kerr <jk@ozlabs.org>

->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>
---
 discover/pxe-parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

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: