From 519b0b5a593b5b7fe256dee783015ff582afd8ee Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 9 Oct 2001 05:43:19 +0000 Subject: If we have "/proc/net/dev", and don't have (i.e., don't have "getifaddrs()"), after processing the list returned by SIOCGIFCONF, scan "/proc/net/dev" for interface names, and add to the list of interfaces entries for those interfaces, with no associated addresses (if the interfaces were already added, with addresses, from the list returned by SIOCGIFCONF, they won't get added again). Clean up the error handling a bit. --- config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index da91ee0..3af8ff7 100644 --- a/config.h.in +++ b/config.h.in @@ -66,6 +66,9 @@ /* if if_packet.h has tpacket_stats defined */ #undef HAVE_TPACKET_STATS +/* define if you have a /proc/net/dev */ +#undef HAVE_PROC_NET_DEV + /* define on AIX to get certain functions */ #undef _SUN -- cgit v1.2.3