From 19dab336ae13f0476bfbf0db34f1329a802eeb8e Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 19 Mar 2013 14:24:57 +0800 Subject: discover: Add configuration events & DHCP handler This change adds a new event type, EVENT_ACTION_CONF. These events supply a new configuration URL that petitiboot should download and parse. With this in place, we can receive DHCP configuration events. Signed-off-by: Jeremy Kerr --- discover/event.h | 1 + 1 file changed, 1 insertion(+) (limited to 'discover/event.h') diff --git a/discover/event.h b/discover/event.h index 900ced8..70cc8fc 100644 --- a/discover/event.h +++ b/discover/event.h @@ -10,6 +10,7 @@ enum event_type { enum event_action { EVENT_ACTION_ADD = 20, EVENT_ACTION_REMOVE, + EVENT_ACTION_CONF, EVENT_ACTION_MAX, }; -- cgit v1.2.1