[ipxe-devel] DHCPv6 problem

Michael Brown mcb30 at ipxe.org
Thu May 22 08:49:30 UTC 2014


On 22/05/14 09:11, Anton D. Kachalov wrote:
> I have printouted contents of "local" variable and each "udp" item in udp_demux() (see attached screenshot). The "pad" bytes are scrambled in received buffer while items' pads has all zeroes.

Your debug output is a little hard for me to interpret.  Could you try 
instead using:

   DBG ( "RX address (%s):\n",
	sock_ntoa ( ( struct sockaddr * ) local ) );
   DBG_HDA ( 0, local, sizeof ( *local ) );
   DBG ( "Socket address (%s):\n",
	sock_ntoa ( ( struct sockaddr * ) &udp->local ) );
   DBG_HDA ( 0, &udp->local, sizeof ( udp->local ) );

Thanks,

Michael



More information about the ipxe-devel mailing list