discover/status: Be more specific about DHCP event status message
authorJeremy Kerr <jk@ozlabs.org>
Mon, 12 Dec 2016 10:16:33 +0000 (18:16 +0800)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:21 +0000 (16:40 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c

index 5f63a6eedf20a2c78901f76adf19cc7954dd7994..d038c5b641e8c4e42420e615612542bde5cadaf3 100644 (file)
@@ -952,7 +952,8 @@ int device_handler_dhcp(struct device_handler *handler,
        struct discover_context *ctx;
 
        device_handler_status_dev_info(handler, dev,
-                       _("Processing dhcp event"));
+                       _("Processing DHCP lease response (ip: %s)"),
+                       event_get_param(event, "ip"));
 
        /* create our context */
        ctx = device_handler_discover_context_create(handler, dev);