HomeFreeBSD

pfctl: Fix ifa_grouplookup()

Description

pfctl: Fix ifa_grouplookup()

Setting the length of the request got lost in r343287, which means SIOCGIFGMEMB
gives us the required length, but does not copy the names of the group members.
As a result we don't get a correct list of group members, and 'set skip on
<ifgroup>' broke.

This produced all sorts of very unexpected results, because we would end up
applying 'set skip' to unexpected interfaces.

X-MFC-with: r343287

Details

Provenance
kpAuthored on
Parents
rS343977: libbe(3): Add a destroy option for removing the origin
Branches
Unknown
Tags
Unknown