From 3ba4a01afc109adc9cc4cb56364eba7674ae79e6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 6 Sep 2004 03:53:09 +0000 Subject: [PATCH] seems aix and osf are old buddies --- src/sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigar.c b/src/sigar.c index 4bd41986..36c17b52 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -898,7 +898,7 @@ int sigar_net_interface_list_get(sigar_t *sigar, ifr = ifc.ifc_req; for (n = 0; n < ifc.ifc_len; n += sizeof(struct ifreq), ifr++) { -#ifdef _AIX +#if defined(_AIX) || defined(__osf__) /* pass the bourbon */ if (ifr->ifr_addr.sa_family != AF_LINK) { /* XXX: dunno if this is right. * otherwise end up with two 'en0' and three 'lo0'