Re: [PATCH 1/3] dhcp: fix request packet's requested IP option

2015-01-30 Thread Eric Bénard
Le Fri, 30 Jan 2015 16:01:46 +0800, Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > On Jan 29, 2015, at 7:37 AM, Eric Bénard wrote: > > > > In the request packet, we are supposed to copy the IP that the DHCP server > > provided in the offer packet so that dhcp_extended can fill the option 50.

Re: [PATCH 1/3] dhcp: fix request packet's requested IP option

2015-01-30 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 29, 2015, at 7:37 AM, Eric Bénard wrote: > > In the request packet, we are supposed to copy the IP that the DHCP server > provided in the offer packet so that dhcp_extended can fill the option 50. > There is actually an error in barebox as the pointer to the packet currently > built is

[PATCH 1/3] dhcp: fix request packet's requested IP option

2015-01-28 Thread Eric Bénard
In the request packet, we are supposed to copy the IP that the DHCP server provided in the offer packet so that dhcp_extended can fill the option 50. There is actually an error in barebox as the pointer to the packet currently built is used as the source instead of the pointer to the offer packet.