* Nuno Miguel Fernandes Sucena Almeida <[EMAIL PROTECTED]> [020216 20:29] wrote: > Hello, > i'm using getifaddrs to get the IP and HW address of an ethernet > interface but it seems that the ifap->ifa_next pointer is never NULL so I > end up with an infinite loop! If i uncomment the // printf's I get the > HW address correctly but after that I get the IP address repeated ad > eternum! Any ideas ?
> current = ifap->ifa_next; should be: current = current->ifa_next; I also do birthdays and Bar Mitvahs, let me know. -Alfred To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message