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 8b3a1ab..242ae81 100644
--- a/discover/event.c
+++ b/discover/event.c
@@ -55,6 +55,8 @@ static int event_parse_ad_header(char *buf, int len, enum event_action *action,
*action = EVENT_ACTION_DHCP;
else if (streq(buf, "boot"))
*action = EVENT_ACTION_BOOT;
+ else if (streq(buf, "sync"))
+ *action = EVENT_ACTION_SYNC;
else {
pb_log("%s: unknown action: %s\n", __func__, buf);
return -1;
OpenPOWER on IntegriCloud