Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 13:39:51 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193913 - head/sys/net
Message-ID:  <200906101339.n5ADdph6014803@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906101339.n5ADdph6014803>