]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Calculate the number interface array elements using the new FR_NUM macro
authorcy <cy@FreeBSD.org>
Sun, 11 Aug 2019 23:54:52 +0000 (23:54 +0000)
committercy <cy@FreeBSD.org>
Sun, 11 Aug 2019 23:54:52 +0000 (23:54 +0000)
commite51b58aac7840e9b88fd09fa76e8963671b6f539
tree02110dcbb409faa38487040b97158c56e39eb144
parent5671386af5f207b51c0bef5a1c0a1d7207ffeae4
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
sys/contrib/ipfilter/netinet/fil.c
sys/contrib/ipfilter/netinet/ip_state.c