Fix up a compile time warning if INET6 isn't defined.

This commit is contained in:
Adrian Chadd 2012-11-18 04:51:46 +00:00
parent 2d7499b141
commit d60ec817ea

View File

@ -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;