pf: allow multiple pflog interfaces to be created

Fixes:		3bf6554017
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost 2025-02-14 13:41:22 +01:00
parent cba525e53b
commit 8e8a77c56e

View file

@ -111,7 +111,7 @@ pflogattach(int npflog __unused)
struct if_clone_addreq req = {
.create_f = pflog_clone_create,
.destroy_f = pflog_clone_destroy,
.flags = IFC_F_AUTOUNIT | IFC_F_LIMITUNIT,
.flags = IFC_F_AUTOUNIT,
};
V_pflog_cloner = ifc_attach_cloner(pflogname, &req);
struct ifc_data ifd = { .unit = 0 };