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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to