Fix build.

This commit is contained in:
Hiroki Sato 2014-09-21 07:16:51 +00:00
parent ebb03f0b57
commit 9f21b0b8b2

View File

@ -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,