summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
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.h
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.h')
-rw-r--r--sys/net/route.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 7b8c460..dce6c62 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -82,7 +82,6 @@ struct rt_metrics {
#define RTM_RTTUNIT 1000000 /* units for rtt, rttvar, as units per sec */
#define RTTTOPRHZ(r) ((r) / (RTM_RTTUNIT / PR_SLOWHZ))
-#define RT_MAXFIBS 16
extern u_int rt_numfibs; /* number fo usable routing tables */
extern u_int tunnel_fib; /* tunnels use these */
extern u_int fwd_fib; /* packets being forwarded use these routes */
@@ -330,7 +329,7 @@ struct rt_addrinfo {
RTFREE_LOCKED(_rt); \
} while (0)
-extern struct radix_node_head *rt_tables[RT_MAXFIBS][AF_MAX+1];
+extern struct radix_node_head *rt_tables[][AF_MAX+1];
struct ifmultiaddr;
OpenPOWER on IntegriCloud