Date: Sat, 8 Sep 2007 18:24:21 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 126193 for review Message-ID: <200709081824.l88IOLvS076911@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126193 Change 126193 by zec@zec_tpx32 on 2007/09/08 18:23:19 Wrap an INET6 related sysctl instance into an #ifdef, fixing compilation issues with nooptions INET6 configurations. While here, clean up some whitespace noise. Affected files ... .. //depot/projects/vimage/src/sys/net/if_gif.c#11 edit Differences ... ==== //depot/projects/vimage/src/sys/net/if_gif.c#11 (text+ko) ==== @@ -131,11 +131,13 @@ static int max_gif_nesting; #endif SYSCTL_V_INT(V_NET, vnet_gif, _net_link_gif, OID_AUTO, max_nesting, - CTLFLAG_RW, max_gif_nesting, 0, "Max nested tunnels"); + CTLFLAG_RW, max_gif_nesting, 0, "Max nested tunnels"); +#ifdef INET6 SYSCTL_DECL(_net_inet6_ip6); SYSCTL_V_INT(V_NET, vnet_gif, _net_inet6_ip6, IPV6CTL_GIF_HLIM, - gifhlim, CTLFLAG_RW, ip6_gif_hlim, 0, ""); + gifhlim, CTLFLAG_RW, ip6_gif_hlim, 0, ""); +#endif /* * By default, we disallow creation of multiple tunnels between the same @@ -244,7 +246,6 @@ V_parallel_tunnels = 1; #endif V_ip_gif_ttl = GIF_TTL; - #ifdef INET6 V_ip6_gif_hlim = GIF_HLIM; #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709081824.l88IOLvS076911>