diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2020-06-04 14:44:44 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2020-06-04 14:44:44 +0000 |
commit | 8e725dacd28f7b67599365b00356bbe1d5f49fa1 (patch) | |
tree | c272886b28449d2e82255508273e013455e2a365 /stand/loader.mk | |
parent | 47cb0632e8fd3fbc59f783c422a09db38d443300 (diff) | |
download | src-8e725dacd28f7b67599365b00356bbe1d5f49fa1.tar.gz src-8e725dacd28f7b67599365b00356bbe1d5f49fa1.zip |
ifconfig(8): make it possible to filter output by interface group.
Now options -g/-G allow to select/unselect interfaces by groups
in the "ifconfig -a" output just like already existing -d/-u.
Examples:
to exclude loopback from the list: ifconfig -a -G lo
to show vlan interfaces only: ifconfig -a -g vlan
to show tap interfaces that are up: ifconfig -aug tap
Arguments to -g/-G may be shell patterns and both may be specified.
Later options -g/-G override previous ones.
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D25029
Notes
Notes:
svn path=/head/; revision=361790
Diffstat (limited to 'stand/loader.mk')
0 files changed, 0 insertions, 0 deletions