https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292634

--- Comment #1 from Emrion <[email protected]> ---
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.

Reply via email to