Date: Thu, 22 Jan 2026 13:29:59 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 292634] ifconfig doesn't display bridge members when a span interface is added Message-ID: <bug-292634-227-KLJSC91OJ0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-292634-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292634 --- Comment #1 from Emrion <kmachine@free.fr> --- I'm looking at the code. I think the problem comes from sbin/ifconfig/ifbridge.c, line 212: static void bridge_status(if_ctx *ctx) { struct ifconfig_bridge_status *bridge; struct ifbropreq *params; const char *pad, *prefix; uint8_t lladdr[ETHER_ADDR_LEN]; uint16_t bprio; if (ifconfig_bridge_get_bridge_status(lifh, ctx->ifname, &bridge) == -1) return; params = bridge->params; PV2ID(params->ifbop_bridgeid, bprio, lladdr); printf("\tid %s priority %u hellotime %u fwddelay %u\n", (...snip...) The function ifconfig_bridge_get_bridge_status() could return -1 when a span interface is present as a bridge member, thus stopping all the subsequent prints (as we see in the ifconfig output). This function is located in lib/libifconfig/libifconfig_bridge.c. Maybe one of the two last commits is responsible for this issue. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292634-227-KLJSC91OJ0>
