HomeFreeBSD

Calculate the number interface array elements using the new FR_NUM macro

Description

Calculate the number interface array elements using the new FR_NUM macro
instead of the hard-coded value of 4. This is a precursor to increasing
the number of interfaces speficied in "on {interface, ..., interface}".
Note that though this feature is coded in ipf_y.y, it is partially
supported in the ipfilter kld, meaning it does not work yet (and is yet
to be documented in ipf.5 too).

MFC after: 2 weeks

Details

Provenance
cyAuthored on
Parents
rS350880: r272552 applied the patch from ipfilter upstream fil.c r1.129 to fix
Branches
Unknown
Tags
Unknown