diff options
Diffstat (limited to 'extra/resolveip.c')
-rw-r--r-- | extra/resolveip.c | 5 |
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(""); } } |