summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2015-12-29 18:53:08 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:35:51 +0800
commit43488f288a5a4ec0c632c229cad088099842a3a9 (patch)
tree4573178b26543c8a5c2bc6379774d854658c00ff /net/net.c
parent1a8f6594c2a16f45d3ce4382100922b4afbc6d47 (diff)
downloadu-boot-imx-43488f288a5a4ec0c632c229cad088099842a3a9.zip
u-boot-imx-43488f288a5a4ec0c632c229cad088099842a3a9.tar.gz
u-boot-imx-43488f288a5a4ec0c632c229cad088099842a3a9.tar.bz2
MLK-12101: net: bootp: fix dhcp when there is a bad dhcp server
There is a bad dhcp server which always gives board ipaddr 0.0.0.0, and board can not get ipaddr from correct dhcp server, since the bad dhcp server always reply the board's dhcp packet with bad address. We can ignore the bad dhcp server by checking the assigned ipaddr, checking whether it is 0 or not. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions