Re: [U-Boot] [PATCH] net: bootp: Ignore packets whose yiaddr is 0

2016-01-06 Thread Wolfgang Denk
Dear Peng Fan, In message <1451875796-15860-1-git-send-email-peng@nxp.com> you wrote: > When doing `dhcp`, there is a bad dhcp server in my network > which always reply dhcp request with yiaddr 0, which cause > uboot can not successfully get ipaddr from the good dhcp server. > But the Linux

Re: [U-Boot] [PATCH] net: bootp: Ignore packets whose yiaddr is 0

2016-01-06 Thread Peng Fan
Hi Wolfgang, On Thu, Jan 07, 2016 at 12:49:42AM +0100, Wolfgang Denk wrote: >Dear Peng Fan, > >In message <1451875796-15860-1-git-send-email-peng@nxp.com> you wrote: >> When doing `dhcp`, there is a bad dhcp server in my network >> which always reply dhcp request with yiaddr 0, which cause >>

[U-Boot] [PATCH] net: bootp: Ignore packets whose yiaddr is 0

2016-01-03 Thread Peng Fan
When doing `dhcp`, there is a bad dhcp server in my network which always reply dhcp request with yiaddr 0, which cause uboot can not successfully get ipaddr from the good dhcp server. But the Linux PC can get the ip address even if there is a bad dhcp server. This patch is to fix that even if