On Tue, Jan 09, 2001 at 03:39:22PM +0200, Graham Wheeler wrote:
> David Malone wrote:
> > 
> > If you read the paragraph below that code, it notes that the ifreq
> > structures are of variable length. The spacing depends on the size
> > of the returned info.
> 
> That's true. In which case the cheops code is wrong, as it iterates
> through the list by incrementing a pointer to a struct ifreq. I'll try
> fix that and get Mark to test under Linux and hopefully get a portable
> solution.
You can get the portable code from BIND, where it looks at the interface list.

/Mike


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to