summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-15 21:33:17 +0000
committerphk <phk@FreeBSD.org>1994-10-15 21:33:17 +0000
commite870798eee9a089baa3c5dd87cc15768297354c6 (patch)
tree10bd4395fc9bc210c703e8b9868ca201320370f7 /sys/net/radix.c
parentf76ae393529e06b7bf780170450bac5f16c039b1 (diff)
downloadFreeBSD-src-e870798eee9a089baa3c5dd87cc15768297354c6.zip
FreeBSD-src-e870798eee9a089baa3c5dd87cc15768297354c6.tar.gz
moved a message into a #ifdef DEBUG. This message comes out if a kernel
doesn't have any networking in it. For instance the new "MINI" install- kernel.
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r--sys/net/radix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 4f36616..d8da6e2 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)radix.c 8.2 (Berkeley) 1/4/94
- * $Id: radix.c,v 1.3 1994/08/02 07:46:29 davidg Exp $
+ * $Id: radix.c,v 1.4 1994/10/08 22:38:23 phk Exp $
*/
/*
@@ -744,7 +744,9 @@ rn_init()
max_keylen = dom->dom_maxrtkey;
#endif
if (max_keylen == 0) {
+#ifdef DEBUG
printf("rn_init: radix functions require max_keylen be set\n");
+#endif
return;
}
R_Malloc(rn_zeros, char *, 3 * max_keylen);
OpenPOWER on IntegriCloud