Replace AF_INET6 ifdefs with USE_INET6 to be consistent with the rest
of the ipfilter souce tree.
This commit is contained in:
parent
a4d3d010b8
commit
f21680fd98
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user