diff options
author | Gerald Combs <gerald@wireshark.org> | 2003-08-26 20:21:08 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2003-08-26 20:21:08 +0000 |
commit | 6deb901e11fb20fd4737c57aeaf302edefea77dc (patch) | |
tree | c0d9d342491d8a0662cf9c472e1c382c5c71a11f | |
parent | e766fc1c2cc0bbb14f2e53d4885516491960544e (diff) |
Fix macro logic to allow classical resolution even if we have HAVE_GNU_ADNS
defined.
svn path=/trunk/; revision=8274
-rw-r--r-- | epan/resolv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/resolv.c b/epan/resolv.c index 15795c7002..aa071157cd 100644 --- a/epan/resolv.c +++ b/epan/resolv.c @@ -1,7 +1,7 @@ /* resolv.c * Routines for network object lookup * - * $Id: resolv.c,v 1.35 2003/08/18 18:40:10 guy Exp $ + * $Id: resolv.c,v 1.36 2003/08/26 20:21:08 gerald Exp $ * * Laurent Deniel <laurent.deniel@free.fr> * @@ -344,7 +344,7 @@ static guchar *host_name_lookup(guint addr, gboolean *found) ip_to_str_buf((guint8 *)&addr, tp->name); return tp->name; } -#else +#endif /* HAVE_GNU_ADNS */ /* * The Windows "gethostbyaddr()" insists on translating 0.0.0.0 to @@ -384,7 +384,6 @@ static guchar *host_name_lookup(guint addr, gboolean *found) # endif /* AVOID_DNS_TIMEOUT */ } -#endif /* HAVE_GNU_ADNS */ /* unknown host or DNS timeout */ |