Switched back to SIOCGIFHWADDR for getting hardware address. Other platforms will need some more work...

This commit is contained in:
pdw
2003-05-19 20:22:20 +00:00
parent 55aa26756b
commit 678f924d77
2 changed files with 9 additions and 12 deletions

View File

@@ -36,13 +36,4 @@ void ui_init(void);
void options_read(int argc, char **argv);
/* Make use of SIOCGIFHWADDR work on FreeBSD and Solaris. */
#ifndef SIOCGIFHWADDR
# ifdef HAVE_SYS_SOCKIO_H
# include <sys/sockio.h> /* Solaris and others?? */
# endif
# define SIOCGIFHWADDR SIOCGIFADDR
# define ifr_hwaddr ifr_addr
#endif
#endif /* __IFTOP_H_ */