net: Fix potential empty DHCP Parameter Request List
authorJason Liu <r64343@freescale.com>
Sun, 14 Nov 2010 04:23:09 +0000 (12:23 +0800)
committerWolfgang Denk <wd@denx.de>
Sun, 14 Nov 2010 22:29:29 +0000 (23:29 +0100)
commit258ccd68170b7279ec7d4805c7b914c90374e711
tree65294dbbf384b7b2fd5b458e9c8457d65ee679cd
parent6d1d51b32b9dc26be42ab95a61346050f9de7665
net: Fix potential empty DHCP Parameter Request List

Can't get IP address with dhcp due to the dhcp server not
allow the empty param list request under some network env

This patch is based on Gray Remlin's initial patch.

Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Gray Remlin <g_remlin@rocketmail.com>
net/bootp.c