From e2c92865481a5fb043c03c0cde625a96ca608699 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Mon, 5 Sep 2016 14:18:18 +1000 Subject: discover: Deprecate 'conf' user event The 'conf' user event is functionally very similar to the 'url' event, in that both events result in downloading a specified configuration file and passing it to iterate_parsers(). The 'url' event additionally allows downloading files from a directory path and is also accessed by the UI via pb-protocol, so remove the 'conf' event and associated functions in favour of 'url' and device_handler_process_url(). Signed-off-by: Samuel Mendoza-Jonas --- discover/event.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'discover/event.c') diff --git a/discover/event.c b/discover/event.c index 242ae81..1be19eb 100644 --- a/discover/event.c +++ b/discover/event.c @@ -49,8 +49,6 @@ static int event_parse_ad_header(char *buf, int len, enum event_action *action, *action = EVENT_ACTION_REMOVE; else if (streq(buf, "url")) *action = EVENT_ACTION_URL; - else if (streq(buf, "conf")) - *action = EVENT_ACTION_CONF; else if (streq(buf, "dhcp")) *action = EVENT_ACTION_DHCP; else if (streq(buf, "boot")) -- cgit v1.2.1