Re: [U-Boot] [PATCH] DHCP: fix dhcp command parameters overwrite issue

2012-05-04 Thread Wolfgang Denk
Dear voice shen, please do not top post / full quote. Please read http://www.netmeister.org/news/learn2quote.html In message you wrote: > > But, I have a question. The different DHCP server configuration will > cause different result. > Please take following information as a reference. >

Re: [U-Boot] [PATCH] DHCP: fix dhcp command parameters overwrite issue

2012-05-03 Thread voice shen
Hi Wolfgang, Thank you very much. But, I have a question. The different DHCP server configuration will cause different result. Please take following information as a reference. case 1: DHCP server response include bootfilename, the parameters of the dhcp can not be used. case 2: DHCP ser

Re: [U-Boot] [PATCH] DHCP: fix dhcp command parameters overwrite issue

2012-05-03 Thread Wolfgang Denk
Dear Bo Shen, In message <1336036915-6422-1-git-send-email-voice.s...@gmail.com> you wrote: > when using dhcp command with parameters as usage message, > if DHCP server response contains bootfilename, it will overwrite > the dhcp command parameters. So the dhcp command parameters > can not be used

[U-Boot] [PATCH] DHCP: fix dhcp command parameters overwrite issue

2012-05-03 Thread Bo Shen
when using dhcp command with parameters as usage message, if DHCP server response contains bootfilename, it will overwrite the dhcp command parameters. So the dhcp command parameters can not be used. Using this patch to fix it. Signed-off-by: Bo Shen --- common/cmd_net.c |1 + net/bootp.c