From 70360c684f0c00822f0c16ef4461c0d9a259505c Mon Sep 17 00:00:00 2001 From: bz Date: Wed, 5 Nov 2008 11:54:56 +0000 Subject: Hide the IPv4 init function if the kernel is compiled without INET. It is not used in that case and would not compile. --- sys/net/radix_mpath.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/net') diff --git a/sys/net/radix_mpath.c b/sys/net/radix_mpath.c index 03800f6..c68db99 100644 --- a/sys/net/radix_mpath.c +++ b/sys/net/radix_mpath.c @@ -36,6 +36,7 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_inet.h" #include "opt_inet6.h" #include @@ -308,6 +309,7 @@ rtalloc_mpath_fib(struct route *ro, u_int32_t hash, u_int fibnum) extern int in6_inithead(void **head, int off); extern int in_inithead(void **head, int off); +#ifdef INET int rn4_mpath_inithead(void **head, int off) { @@ -321,6 +323,7 @@ rn4_mpath_inithead(void **head, int off) } else return 0; } +#endif #ifdef INET6 int -- cgit v1.1