summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifgroup.c
Commit message (Collapse)AuthorAgeFilesLines
* Expose groups by default in ifconfig output. This was never hidden byfeld2014-11-191-3/+2
| | | | | | | | | | | | | OpenBSD; unsure why we chose to do so. As groups are a requirement for pf, exposing them by default will make our pf implementation less confusing. While here add a missing free() that OpenBSD fixed 7 years ago. PR: 194925 Differential Revision: https://reviews.freebsd.org/D1185 Approved by: des Obtained from: OpenBSD
* Do not error out when adding an interface to a group to which itdes2013-10-191-2/+2
| | | | | | | | | already belongs or removing it from a group to which it does not belong. This makes it possible to include group memberships in ifconfig_foo0 in rc.conf without fear of breaking "service netif restart foo0". MFC after: 3 days
* Default to AF_LOCAL instead of AF_INET sockets for non-family-specificjamie2009-03-151-2/+2
| | | | | | | operations. This allows the query operations to work in non-IPv4 jails, and will be necessary in a future of possible non-INET networking. Approved by: bz (mentor)
* correct type definition of option routine callbacksam2007-02-171-1/+1
|
* Import interface groups from OpenBSD. This allows to group interfaces inmlaier2006-06-191-0/+186
order to - for example - apply firewall rules to a whole group of interfaces. This is required for importing pf from OpenBSD 3.9 Obtained from: OpenBSD (with changes) Discussed on: -net (back in April)
OpenPOWER on IntegriCloud