From: Samuel Mendoza-Jonas Date: Thu, 28 Jun 2018 07:21:35 +0000 (+1000) Subject: discover/user-event: Check for required parameters X-Git-Tag: v1.9.0~68 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=786903a98d6827b3bd7d280534834c4dfaca9166;hp=786903a98d6827b3bd7d280534834c4dfaca9166;ds=sidebyside discover/user-event: Check for required parameters Check for some required parameters in the 'dhcp' handler, and in the 'add' handler return an error if parse_user_event() fails rather than charging ahead into a segfault. Signed-off-by: Samuel Mendoza-Jonas ---