net: Handle an empty bootp extension section
authorAndre Renaud <andre@designa-electronics.com>
Thu, 5 May 2016 13:28:08 +0000 (07:28 -0600)
committerAndreas Bießmann <andreas@biessmann.org>
Sun, 12 Jun 2016 21:49:38 +0000 (23:49 +0200)
commit166c409bc42627d9e19517f6ce121c39d0f52b65
treec923a685fa1ed7c545ab028dba8bb7839d8cb8be
parentb4d956f6bc0fe6ff9a5776cbce0fe97a344737a3
net: Handle an empty bootp extension section

Avoid generating this section if there is nothing in it.

Signed-off-by: Andre Renaud <andre@designa-electronics.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/bootp.c