X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fevent.c;h=242ae81bf1a756306c97db74ee0e69d62ae4d487;hb=8f0e069fc43ed6f6a230329839f970415147d1aa;hp=8b3a1ab8b344ca2662a97649b5113c71d173047c;hpb=81f28af2bd94cc552aef1a7b959e4c6b84457ce7;p=petitboot 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;