[ipxe-devel] DHCPv6 problem

Anton D. Kachalov mouse at yandex-team.ru
Thu May 22 08:56:14 UTC 2014


Here is an output:

RX address (fe80::92e2:baff:fe0f:a004):                                         
00000000 : 02 00 00 00 02 22 02 00-fe 80 00 00 00 00 00 00 : ....."..........   
00000010 : 92 e2 ba ff fe 0f a0 04-00 00 00 00 00 00 00 00 : ................   
Socket address (::):                                                            
00000000 : 02 00 00 00 02 22 02 00-00 00 00 00 00 00 00 00 : ....."..........   
00000010 : 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 : ................   
No UDP connection listening on port 546

PS. Client's MAC address is 90:e2:ba:0f:a0:04


22.05.2014, 12:48, "Michael Brown" <mcb30 at ipxe.org>:
> 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

-- 
Anton D. Kachalov



More information about the ipxe-devel mailing list