summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-11-18 04:51:46 +0000
committeradrian <adrian@FreeBSD.org>2012-11-18 04:51:46 +0000
commit2191ae37a27f4a84a6dcce450383c3854e079ba6 (patch)
tree633c098d374e9b51ff8719cc54b172a719ee1229 /sys/net/rtsock.c
parent00a8daa950a6e306045b952e16ffb60c2410acfd (diff)
downloadFreeBSD-src-2191ae37a27f4a84a6dcce450383c3854e079ba6.zip
FreeBSD-src-2191ae37a27f4a84a6dcce450383c3854e079ba6.tar.gz
Fix up a compile time warning if INET6 isn't defined.
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index b2d1430..1ff6bca 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1573,8 +1573,8 @@ sysctl_dumpentry(struct radix_node *rn, void *vw)
#ifdef INET6
struct sockaddr_storage ss[RTAX_MAX];
struct sockaddr_in6 *sin6;
-#endif
int i;
+#endif
if (w->w_op == NET_RT_FLAGS && !(rt->rt_flags & w->w_arg))
return 0;
OpenPOWER on IntegriCloud