summaryrefslogtreecommitdiffstats
path: root/discover/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/event.c')
-rw-r--r--discover/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/event.c b/discover/event.c
index 7932378..8b3a1ab 100644
--- a/discover/event.c
+++ b/discover/event.c
@@ -53,6 +53,8 @@ static int event_parse_ad_header(char *buf, int len, enum event_action *action,
*action = EVENT_ACTION_CONF;
else if (streq(buf, "dhcp"))
*action = EVENT_ACTION_DHCP;
+ else if (streq(buf, "boot"))
+ *action = EVENT_ACTION_BOOT;
else {
pb_log("%s: unknown action: %s\n", __func__, buf);
return -1;
OpenPOWER on IntegriCloud