aboutsummaryrefslogtreecommitdiffstats
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
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.
-rwxr-xr-xconfigure6
-rw-r--r--configure.in8
-rw-r--r--nametoaddr.c8
3 files changed, 11 insertions, 11 deletions
diff --git a/configure b/configure
index 0af326d..ba01786 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.119 .
+# From configure.in Revision: 1.120 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57.
#
@@ -4394,7 +4394,7 @@ done
if test "$ac_cv_func_ether_hostton" = yes; then
#
- # OK, we have ether_hoston(). Do we have <netinet/if_ether.h>?
+ # OK, we have ether_hostton(). Do we have <netinet/if_ether.h>?
#
if test "$ac_cv_header_netinet_if_ether_h" = yes; then
#
@@ -4630,7 +4630,7 @@ done
if test "$ac_cv_header_netinet_ether_h" = yes; then
#
- # We have it - does it declare ether_hoston()?
+ # We have it - does it declare ether_hostton()?
# Unset ac_cv_have_decl_ether_hostton so we don't
# treat the previous failure as a cached value and
# suppress the next test.
diff --git a/configure.in b/configure.in
index 72a07f6..d224a0e 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.119 2005-03-27 21:51:23 guy Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.120 2005-03-27 22:26:25 guy Exp $ (LBL)
dnl
dnl Copyright (c) 1994, 1995, 1996, 1997
dnl The Regents of the University of California. All rights reserved.
@@ -6,7 +6,7 @@ dnl
dnl Process this file with autoconf to produce a configure script.
dnl
-AC_REVISION($Revision: 1.119 $)
+AC_REVISION($Revision: 1.120 $)
AC_PREREQ(2.50)
AC_INIT(pcap.c)
@@ -78,7 +78,7 @@ AC_LBL_LIBRARY_NET
AC_CHECK_FUNCS(ether_hostton)
if test "$ac_cv_func_ether_hostton" = yes; then
#
- # OK, we have ether_hoston(). Do we have <netinet/if_ether.h>?
+ # OK, we have ether_hostton(). Do we have <netinet/if_ether.h>?
#
if test "$ac_cv_header_netinet_if_ether_h" = yes; then
#
@@ -109,7 +109,7 @@ struct rtentry;
AC_CHECK_HEADERS(netinet/ether.h)
if test "$ac_cv_header_netinet_ether_h" = yes; then
#
- # We have it - does it declare ether_hoston()?
+ # We have it - does it declare ether_hostton()?
# Unset ac_cv_have_decl_ether_hostton so we don't
# treat the previous failure as a cached value and
# suppress the next test.
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 */