Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2014 14:15:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194925] [pf] [ifconfig] interface group keywords do not work by default
Message-ID:  <bug-194925-8-M6SUbU9jod@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194925-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194925-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194925

--- Comment #1 from Mark Felder <feld@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194925-8-M6SUbU9jod>