freebsd-src/lib/libifconfig
Michael Gmelin c2299997ce 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

(cherry picked from commit 3d36053ca6)
2024-01-05 12:56:18 +01:00
..
libifconfig_bridge.c libifconfig: Fix bridge status member list 2024-01-05 12:56:18 +01:00
libifconfig_carp.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_inet6.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_inet.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_internal.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_internal.h Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_lagg.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_media.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_sfp_tables_internal.tpl.h Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_sfp_tables.tpl.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_sfp_tables.tpl.h Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_sfp.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig_sfp.h Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig.c Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
libifconfig.h Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
sfp.lua Remove $FreeBSD$: two-line .h pattern 2023-08-23 11:43:21 -06:00
Symbol.map libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-19 09:00:19 -04:00