lkml.org 
[lkml]   [1996]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SIOCGIFADDR bug?
On Mon, 17 Jun 1996, Zachary Roger Amsden wrote:

> The ioctl call SIOCGIFADDR, when used to get the internet addresss of an
> interface, behaves erradically.
>

i have noticed this as well. i got around it by doing the ioctl a 2nd
time. works reliably so long as you make at least 2 ioctl()s, and as
ifconfig displays, they don't both have to be the same ioctl.

jeff
---
Why Linux? source code. POSIX. tcpip. job control. support from the authors.
drivers for most hardware. because one terminal or process is never enough.
forget the other O/Ss, i use Linux- the choice of a gnu generation.




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.075 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site