freebsd-src/lib/libifconfig
Michael Gmelin e65182c7bc 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-28 18:55:56 +01:00
..
libifconfig_bridge.c libifconfig: Fix bridge status member list 2024-01-28 18:55:56 +01:00
libifconfig_carp.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_inet6.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_inet.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_internal.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_internal.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_lagg.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_media.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp_tables_internal.tpl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp_tables.tpl.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp_tables.tpl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig_sfp.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libifconfig.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sfp.lua Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Symbol.map