summaryrefslogtreecommitdiff
path: root/iftop.h
diff options
context:
space:
mode:
authorpdw <>2002-10-21 13:08:23 +0000
committerpdw <>2002-10-21 13:08:23 +0000
commit8010c98d263b4eadb37eca5a966f38673ddcb4ef (patch)
tree847dafd5dd24efd1f5b93710d9baf680a0ee46bc /iftop.h
parent7a997c4ec259c2106aadcf2f18230cc0df0f4534 (diff)
downloadiftop-8010c98d263b4eadb37eca5a966f38673ddcb4ef.zip
0.9pre4.
Merged in FreeBSD fixes.
Diffstat (limited to 'iftop.h')
-rw-r--r--iftop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iftop.h b/iftop.h
index 0d01fee..cad1d95 100644
--- a/iftop.h
+++ b/iftop.h
@@ -35,7 +35,7 @@ void options_read(int argc, char **argv);
/* Make use of SIOCGIFHWADDR work on FreeBSD */
-#ifdef __BSD__
+#ifndef SIOCGIFHWADDR
#define SIOCGIFHWADDR SIOCGIFADDR
#define ifr_hwaddr ifr_addr
#endif