summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2008-04-13 21:38:05 +0000
committerphk <phk@FreeBSD.org>2008-04-13 21:38:05 +0000
commit8988da494e74c5605850ec477cdadfc215d2c2de (patch)
tree4bed24174069af9ad347ea8695f3f4bcaed4dcb8 /sys/net
parent0fbd1630599ae23c726b34eac8f62f0dcad3704a (diff)
downloadFreeBSD-src-8988da494e74c5605850ec477cdadfc215d2c2de.zip
FreeBSD-src-8988da494e74c5605850ec477cdadfc215d2c2de.tar.gz
Make this compile also on non-IPv6 kernels.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/radix_mpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/radix_mpath.c b/sys/net/radix_mpath.c
index 240fb36..871d436 100644
--- a/sys/net/radix_mpath.c
+++ b/sys/net/radix_mpath.c
@@ -318,6 +318,7 @@ rn4_mpath_inithead(void **head, int off)
return 0;
}
+#ifdef INET6
int
rn6_mpath_inithead(void **head, int off)
{
@@ -332,3 +333,4 @@ rn6_mpath_inithead(void **head, int off)
return 0;
}
+#endif
OpenPOWER on IntegriCloud