[Bug 194925] [pf] [ifconfig] interface group keywords do not work by default

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 10 14:15:15 UTC 2014


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

--- Comment #1 from Mark Felder <feld at FreeBSD.org> ---
>From my not-so-scientific research I see that FreeBSD and OpenBSD have an
identical getifgroups() except OpenBSD has a free at the end that perhaps we
might want to cherry pick:

    free(ifgr.ifgr_groups);


getifgroups() appears to do the printing:

        if (strcmp(ifg->ifgrq_group, "all")) {
            if (cnt == 0)
                printf("\tgroups:");
            cnt++;
            printf(" %s", ifg->ifgrq_group);
        }


FreeBSD's ifconfig doesn't print this and I can't find anywhere that we're
calling    getifgroups();

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list