IPV6_PKTINFO/recvfromto

Alexander Clouter alex at digriz.org.uk
Tue Dec 14 11:19:41 CET 2010


Alan DeKok <aland at deployingradius.com> wrote:
>
>> Once this was enabled, I noticed that someone thinks IPv6 addresses are 
>> integers, so I have provided a patch to fix that.
> 
>  I'm not sure what that means...
> 
>    struct foo *a,*b;
>    *a = *b;
> 
>  Is valid C code.  It mean "copy the entire structure".
>
*darn* I was sure you had to use memcpy(), has this always been valid?

Apologies for the accusations, Wackipedia says the same so you must be 
right! :)

Cheers 

-- 
Alexander Clouter
.sigmonster says: No wonder you're tired!  You understood so much today.




More information about the Freeradius-Devel mailing list