From d60ec817eae996b014e312debebaf58dc7c49772 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 18 Nov 2012 04:51:46 +0000 Subject: [PATCH] Fix up a compile time warning if INET6 isn't defined. --- sys/net/rtsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index b2d1430a3318..1ff6bcab444b 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;