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

--- Comment #1 from Mark Felder <f...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to