Last consumer of _WANT_RTENTRY gone.

This commit is contained in:
Gleb Smirnoff 2017-02-10 17:37:04 +00:00
parent 00dffd7e7d
commit 10addc1eb5

View File

@ -135,7 +135,7 @@ VNET_DECLARE(u_int, rt_add_addr_allfibs); /* Announce interfaces to all fibs */
#endif
#endif
#if defined(_KERNEL) || defined(_WANT_RTENTRY)
#if defined(_KERNEL)
struct rtentry {
struct radix_node rt_nodes[2]; /* tree glue, and other values */
/*
@ -159,7 +159,7 @@ struct rtentry {
struct mtx rt_mtx; /* mutex for routing entry */
struct rtentry *rt_chain; /* pointer to next rtentry to delete */
};
#endif /* _KERNEL || _WANT_RTENTRY */
#endif /* _KERNEL */
#define RTF_UP 0x1 /* route usable */
#define RTF_GATEWAY 0x2 /* destination is a gateway */