Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



>>> Log Message:
>>> use getifaddrs to avoid alignment constraints in SIOCGIFCONF.
>>> (do you have PR # for this? >lukem)
>>actually, i realise it wasn't rarpd but rpc.bootparamd. c.f pr 8119
>>for more info.
>>the use of get_myaddress() should be replaced with a call to
>>getifaddrs() and a loop which scans down the result to find the
>>appropriate matching interface.
>       I think the soure of problem is not get_myaddress(),
>       but getbroadcastnets() in lib/libc/rpc/pmap_rmt.c.

        I should have checked the PR first.  get_myaddress()
        issue is not really related to SIOCGIFCONF alignment issue.
        I'm not rpc guy so I'm not quite sure about how get_myaddress()
        should be.

itojun



Home | Main Index | Thread Index | Old Index