Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2017 04:54:58 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320395 - head/contrib/ipfilter/tools
Message-ID:  <201706270454.v5R4swP0006076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Jun 27 04:54:58 2017
New Revision: 320395
URL: https://svnweb.freebsd.org/changeset/base/320395

Log:
  Replace AF_INET6 ifdefs with USE_INET6 to be consistent with the rest
  of the ipfilter souce tree.

Modified:
  head/contrib/ipfilter/tools/ippool_y.y

Modified: head/contrib/ipfilter/tools/ippool_y.y
==============================================================================
--- head/contrib/ipfilter/tools/ippool_y.y	Tue Jun 27 03:57:31 2017	(r320394)
+++ head/contrib/ipfilter/tools/ippool_y.y	Tue Jun 27 04:54:58 2017	(r320395)
@@ -273,7 +273,7 @@ grouplist:
 	| addrmask next			{ $$ = calloc(1, sizeof(iphtent_t));
 					  $$->ipe_addr = $1[0].adf_addr;
 					  $$->ipe_mask = $1[1].adf_addr;
-#ifdef AF_INET6
+#ifdef USE_INET6
 					  if (use_inet6)
 						$$->ipe_family = AF_INET6;
 					  else
@@ -297,7 +297,7 @@ groupentry:
 					  $$->ipe_mask = $1[1].adf_addr;
 					  strncpy($$->ipe_group, $3,
 						  FR_GROUPLEN);
-#ifdef AF_INET6
+#ifdef USE_INET6
 					  if (use_inet6)
 						$$->ipe_family = AF_INET6;
 					  else



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