Hi Brian,

 this apparently (most likely) happens in line 122 of:

srclib/libmetrics/get_ifi_info.c:

119: memcpy(lastname, ifr->ifr_name, IFNAMSIZ);
120:
121: ifrcopy = *ifr;
122: Ioctl(sockfd, SIOCGIFFLAGS, &ifrcopy);

 Could you try to add some debug output to check the interface name it
is processing at that time? "lastname" or "ifr->ifr_name" would be
interesting.

Cheers
Martin

--- Brian Peterson <[EMAIL PROTECTED]> wrote:

> 
> Here�s a truss output.  This was with 3.0.3 but it also happens
with
> 3.0.0
> 
> so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", SOV_DEFAULT) = 4
> ioctl(4, SIOCGIFCONF, 0x08045DD8)               = 0
> ioctl(4, SIOCGIFCONF, 0x08045DD8)               = 0
> ioctl(4, SIOCGIFFLAGS, 0x08045E00)              Err#6 ENXIO
> fstat64(2, 0x08043B60)                          = 0
> ioctl error: No such device or address
> write(2, " i o c t l   e r r o r :".., 39)      = 39
> _exit(1)   
> 


------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

Reply via email to