aboutsummaryrefslogtreecommitdiff
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-10-15 21:33:17 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-10-15 21:33:17 +0000
commited7a91b5d2738307b149c0ff54d6192c4f0e6ffc (patch)
tree10bd4395fc9bc210c703e8b9868ca201320370f7 /sys/net/radix.c
parent2b2701db9a3564ba1ea0a5f773cb249df8abdec9 (diff)
downloadsrc-ed7a91b5d2738307b149c0ff54d6192c4f0e6ffc.tar.gz
src-ed7a91b5d2738307b149c0ff54d6192c4f0e6ffc.zip
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.
Notes
Notes: svn path=/head/; revision=3628
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 4f366161f7af..d8da6e2d32c0 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);