summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_debug.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-02-06 20:36:15 +0000
committerwollman <wollman@FreeBSD.org>1996-02-06 20:36:15 +0000
commit61d8d8e40b45efc45d9bbdf14fe96e565ceb074f (patch)
tree3775e2813ec951933b9585e48e3c57ba7dca08e2 /lib/libc/net/res_debug.c
parentf0d10418a5a87de35e721ce8bbfd0e9353207adc (diff)
downloadFreeBSD-src-61d8d8e40b45efc45d9bbdf14fe96e565ceb074f.zip
FreeBSD-src-61d8d8e40b45efc45d9bbdf14fe96e565ceb074f.tar.gz
Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree. NB: because a function was deleted, libc is now at version 3.0 (was 2.2 previously).
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 af80833..fdcb1b8 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:
OpenPOWER on IntegriCloud