From b5c27255dae21f443eb0106933bf90e84b38530e Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 2 Oct 2004 03:45:13 +0000 Subject: [PATCH] get mac address for tru64 --- src/sigar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sigar.c b/src/sigar.c index fafea017..26228714 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -681,7 +681,7 @@ void sigar_hwaddr_format(char *buff, unsigned char *ptr) #include #endif -#if defined(_AIX) +#if defined(_AIX) || defined(__osf__) /* good buddies */ #include @@ -815,7 +815,7 @@ int sigar_net_interface_config_get(sigar_t *sigar, const char *name, if (!ioctl(sock, SIOCGIFHWADDR, &ifr)) { sigar_hwaddr_format(ifconfig->hwaddr, ifr.ifr_hwaddr.sa_data); } -#elif defined(_AIX) +#elif defined(_AIX) || defined(__osf__) hwaddr_aix_lookup(sigar, ifconfig); #else hwaddr_arp_lookup(ifconfig, sock);