Fix DIOCIGETIFACES ioctl so all network interfaces
authorsashan <sashan@openbsd.org>
Mon, 21 Nov 2022 07:27:10 +0000 (07:27 +0000)
committersashan <sashan@openbsd.org>
Mon, 21 Nov 2022 07:27:10 +0000 (07:27 +0000)
commitedd74edc674adc995f726ebfa0b3a14395d91255
treed15da80311740bc16e44718befc691a05e2d8477
parent1b7ab755026f03b153538891d05fd1f0868850a2
Fix DIOCIGETIFACES ioctl so all network interfaces
and interface groups are reported. The bug allowed
to enumerate the first 64 interfaces only.

The issue has been noticed and bug kindly reported
by Olivier Croquin.

OK kn@
sbin/pfctl/pfctl_table.c
sys/net/pf_if.c