From 10addc1eb518bdc9239c8624cac54637e3a8bde5 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Fri, 10 Feb 2017 17:37:04 +0000 Subject: [PATCH] Last consumer of _WANT_RTENTRY gone. --- sys/net/route.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/route.h b/sys/net/route.h index d44dc9d56f4f..1c6be77545a9 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -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 */