HardenedBSD/lib/libifconfig
Michael Gmelin 3d36053ca6 libifconfig: Fix bridge status member list
When this functionality was moved to libifconfig in 3dfbda3401,
the end of list calculation was modified for unknown reasons, practically
limiting the number of bridge member returned to (about) 102.

This patch changes the calculation back to what it was originally and
adds a unit test to verify it works as expected.

Reported by:	Patrick M. Hausen (via ML)
Reviewed by:	kp
Approved by:	kp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43135
2023-12-21 16:50:27 +01:00
..
libifconfig_bridge.c
libifconfig_carp.c
libifconfig_inet6.c
libifconfig_inet.c
libifconfig_internal.c
libifconfig_internal.h
libifconfig_lagg.c
libifconfig_media.c
libifconfig_sfp_tables_internal.tpl.h
libifconfig_sfp_tables.tpl.c
libifconfig_sfp_tables.tpl.h
libifconfig_sfp.c
libifconfig_sfp.h
libifconfig.c
libifconfig.h
Makefile
Makefile.depend
sfp.lua
Symbol.map