aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-06-27 04:54:58 +0000
committerCy Schubert <cy@FreeBSD.org>2017-06-27 04:54:58 +0000
commitf21680fd983784341c88dbe1015548f65c79868d (patch)
tree6d99e6c989bbe99f3bb1e85e8aa9ae0f7c434cd7 /contrib
parenta4d3d010b8ad3ff75426f3a61912a0c885dd3796 (diff)
Replace AF_INET6 ifdefs with USE_INET6 to be consistent with the rest
of the ipfilter souce tree.
Notes
Notes: svn path=/head/; revision=320395
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ipfilter/tools/ippool_y.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ipfilter/tools/ippool_y.y b/contrib/ipfilter/tools/ippool_y.y
index 93593ce82eca..2c7574f9432d 100644
--- a/contrib/ipfilter/tools/ippool_y.y
+++ b/contrib/ipfilter/tools/ippool_y.y
@@ -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