summaryrefslogtreecommitdiff
path: root/extra/resolveip.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/resolveip.c')
-rw-r--r--extra/resolveip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/resolveip.c b/extra/resolveip.c
index e380d920e9f..52d71d40a64 100644
--- a/extra/resolveip.c
+++ b/extra/resolveip.c
@@ -16,7 +16,7 @@
/* Resolves IP's to hostname and hostnames to IP's */
-#define RESOLVE_VERSION "2.2"
+#define RESOLVE_VERSION "2.3"
#include <my_global.h>
#include <m_ctype.h>
@@ -147,8 +147,11 @@ int main(int argc, char **argv)
else
{
printf ("Host name of %s is %s", ip,hpaddr->h_name);
+#ifndef __NETWARE__
+ /* this information is not available on NetWare */
for (q = hpaddr->h_aliases; *q != 0; q++)
(void) printf(", %s", *q);
+#endif /* __NETWARE__ */
puts("");
}
}