svn commit: r271923 - head/sys/net
Hiroki Sato
hrs at FreeBSD.org
Sun Sep 21 07:16:52 UTC 2014
Author: hrs
Date: Sun Sep 21 07:16:51 2014
New Revision: 271923
URL: http://svnweb.freebsd.org/changeset/base/271923
Log:
Fix build.
Modified:
head/sys/net/route.h
Modified: head/sys/net/route.h
==============================================================================
--- head/sys/net/route.h Sun Sep 21 06:36:17 2014 (r271922)
+++ head/sys/net/route.h Sun Sep 21 07:16:51 2014 (r271923)
@@ -85,9 +85,11 @@ struct rt_metrics {
#define RT_DEFAULT_FIB 0 /* Explicitly mark fib=0 restricted cases */
#define RT_ALL_FIBS -1 /* Announce event for every fib */
+#ifdef _KERNEL
extern u_int rt_numfibs; /* number of usable routing tables */
VNET_DECLARE(u_int, rt_add_addr_allfibs); /* Announce interfaces to all fibs */
#define V_rt_add_addr_allfibs VNET(rt_add_addr_allfibs)
+#endif
/*
* We distinguish between routes to hosts and routes to networks,
More information about the svn-src-head
mailing list