summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_debug.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1996-02-06 20:36:15 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1996-02-06 20:36:15 +0000
commit0761cb293ed1aaeda09dabd8ea725b6f4a3e8024 (patch)
tree3775e2813ec951933b9585e48e3c57ba7dca08e2 /lib/libc/net/res_debug.c
parentc87204dc2da540da78912c0693724e1ff78e03d2 (diff)
Notes
Diffstat (limited to 'lib/libc/net/res_debug.c')
-rw-r--r--lib/libc/net/res_debug.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/net/res_debug.c b/lib/libc/net/res_debug.c
index af80833d2edc..fdcb1b8f99be 100644
--- a/lib/libc/net/res_debug.c
+++ b/lib/libc/net/res_debug.c
@@ -53,12 +53,15 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
-static char rcsid[] = "$Id: res_debug.c,v 1.5 1995/08/21 09:15:34 bde Exp $";
+static char rcsid[] = "$Id: res_debug.c,v 1.6 1996/01/07 09:14:55 peter Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <netinet/in.h>
+#ifdef ISO
#include <netiso/iso.h>
+#endif
+
#include <arpa/inet.h>
#include <arpa/nameser.h>
@@ -415,7 +418,9 @@ __p_rr(cp, msg, file)
{
int type, class, dlen, n, c;
struct in_addr inaddr;
+#ifdef ISO
struct iso_addr isoa;
+#endif
const u_char *cp1, *cp2;
u_int32_t tmpttl, t;
int lcnt;
@@ -556,6 +561,7 @@ __p_rr(cp, msg, file)
putc('"', file);
break;
+#ifdef ISO
case T_NSAP:
isoa.isoa_len = dlen;
if (isoa.isoa_len > sizeof(isoa.isoa_genaddr))
@@ -564,6 +570,7 @@ __p_rr(cp, msg, file)
(void) fprintf(file, "\t%s", iso_ntoa(&isoa));
cp += dlen;
break;
+#endif
case T_MINFO:
case T_RP: