Chris Webb <[email protected]> ha escrit:

> I have no idea why it is doing something like
> 
>   ifr = (struct ifreq *) ((caddr_t) ifr + len + IFNAMSIZ);

Because it was so documented in the description of SIOCGIFCONF.

> (which doesn't work)

It does work for me (Linux 2.6.27.7)

> rather than ifr++ (which does).

Indeed, it happens to work for me as well.

Regards,
Sergey

Reply via email to