On Thu, 2008-09-04 at 21:58 -0400, Peter Memishian wrote:
> Speaking of ipnet_populate_if() (and ipnet_addrchg_ev()): if the kernel
> can handle the stack usage (which I think should be OK since it's only 416
> bytes more than your current stack utilization), it be much cleaner to
> revise the definition for ipnet_create_ifaddr() and declare addresses as
> sockaddr_storage -- e.g.:

I was in the area, so I made this change, and re-factored a bit of
duplicate code in the process:

http://zhadum.east/ws/seb/seb-ipobs/webrev.ifaddr/

-Seb



Reply via email to