freebsd-src/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: Fix bridge status member list 2023-12-21 16:50:27 +01:00
libifconfig_carp.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_inet6.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 libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00