svn commit: r193913 - head/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Wed Jun 10 13:39:52 UTC 2009


Author: bz
Date: Wed Jun 10 13:39:51 2009
New Revision: 193913
URL: http://svn.freebsd.org/changeset/base/193913

Log:
  ip_gif_ttl/GIF_TTL are only used by the inet part in in_gif.c,
  so put the initialization under #ifdef INET.

Modified:
  head/sys/net/if_gif.c

Modified: head/sys/net/if_gif.c
==============================================================================
--- head/sys/net/if_gif.c	Wed Jun 10 13:04:07 2009	(r193912)
+++ head/sys/net/if_gif.c	Wed Jun 10 13:39:51 2009	(r193913)
@@ -274,7 +274,9 @@ vnet_gif_iattach(const void *unused __un
 #else
 	V_parallel_tunnels = 0;
 #endif
+#ifdef INET
 	V_ip_gif_ttl = GIF_TTL;
+#endif
 #ifdef INET6
 	V_ip6_gif_hlim = GIF_HLIM;
 #endif


More information about the svn-src-head mailing list