aboutsummaryrefslogtreecommitdiffstats
path: root/nametoaddr.c
diff options
context:
space:
mode:
authorguy <guy>2005-03-27 22:26:25 +0000
committerguy <guy>2005-03-27 22:26:25 +0000
commit73a0081c0125438f74240f2228ec4bf3021311fb (patch)
tree69f9eba5da3dd06a64482086539a2e7c698b46ee /nametoaddr.c
parentb3f8e4f64026d7a10492f98f47606d71f2ce2f07 (diff)
Fix some typoes for "ether_hostton".
If we don't have ether_hostton(), don't bother checking NETINET_ETHER_H_DECLARES_ETHER_HOSTTON and including <netinet/ether.h> if it's defined.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index 7a83011..8f033b4 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.76 2005-03-27 02:45:03 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.77 2005-03-27 22:26:25 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -63,10 +63,10 @@ struct rtentry; /* declarations in <net/if.h> */
#include <net/if.h> /* for "struct ifnet" in "struct arpcom" on Solaris */
#include <netinet/if_ether.h>
#endif /* HAVE_NETINET_IF_ETHER_H */
-#endif /* HAVE_ETHER_HOSTTON */
-#ifdef NETINET_ETHER_H_DECLARES_ETHER_HOSTON
+#ifdef NETINET_ETHER_H_DECLARES_ETHER_HOSTTON
#include <netinet/ether.h>
-#endif /* NETINET_ETHER_H_DECLARES_ETHER_HOSTON */
+#endif /* NETINET_ETHER_H_DECLARES_ETHER_HOSTTON */
+#endif /* HAVE_ETHER_HOSTTON */
#include <arpa/inet.h>
#include <netdb.h>
#endif /* WIN32 */