From: Jeremy Kerr Date: Thu, 22 May 2014 08:03:19 +0000 (+0800) Subject: discover/network: Fix incorrect udhcpc command if we have no platform definition X-Git-Tag: v1.0.0~176 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=a51beb34277a01ca577c35d6a66ceab38e6de67c;hp=a51beb34277a01ca577c35d6a66ceab38e6de67c discover/network: Fix incorrect udhcpc command if we have no platform definition If we don't have a platform defined, we generate an invalid uchdpc command, as we've NULL-ed out the interface name. This change fixes the no-platform case to terminate *after* the interface name. Signed-off-by: Jeremy Kerr ---