]> git.ozlabs.org Git - petitboot/commitdiff
discover/status: Use full URL in parse status message
authorJeremy Kerr <jk@ozlabs.org>
Tue, 13 Dec 2016 01:15:04 +0000 (09:15 +0800)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:21 +0000 (16:40 +1100)
->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

index c2d0ed53b51eb41c3b9a4bb14683c03a8595f6ac..046addbf85959ee25f77de4b36c2e18c7c98fca2 100644 (file)
@@ -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"),
         */
        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:
 
        talloc_free(buf);
 out_clean: