summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2008-05-10 04:32:58 +0000
committerjulian <julian@FreeBSD.org>2008-05-10 04:32:58 +0000
commit43dfbac6262e4dec42670efffaeec0f1d4716e20 (patch)
treeef5e761dd90877b852cd8140b86f97693c7b43a5 /sys/net/route.c
parent1c4898a1ad1d2dac67cf0efadfa80828b0f2aece (diff)
downloadFreeBSD-src-43dfbac6262e4dec42670efffaeec0f1d4716e20.zip
FreeBSD-src-43dfbac6262e4dec42670efffaeec0f1d4716e20.tar.gz
move a #define from a place it shouldn't have been to a place it should
have been. Basically my testign didn't ocver one case that this broke. thanks tinderbox!
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 39160a5..40f3ccb 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -63,13 +63,13 @@
#include <vm/uma.h>
#ifndef ROUTETABLES
- #undef RT_MAXFIBS
#define RT_NUMFIBS 1
#define RT_MAXFIBS 1
#else
/* while we use 4 bits in the mbuf flags,
* we are limited to 16
*/
+ #define RT_MAXFIBS 16
#if ROUTETABLES > RT_MAXFIBS
#define RT_NUMFIBS RT_MAXFIBS
#error "ROUTETABLES defined too big"
@@ -150,7 +150,7 @@ route_init(void)
struct domain *dom;
int fam;
- /* whack teh tunable ints into line. */
+ /* whack the tunable ints into line. */
if (rt_numfibs > RT_MAXFIBS)
rt_numfibs = RT_MAXFIBS;
if (rt_numfibs == 0)
OpenPOWER on IntegriCloud