freebsd-dev/sbin/ifconfig
Gleb Smirnoff 31016aa0be ifconfig: fix 'ifconfig -l ether'
When matching interfaces for being Ethernet, use same trick that
the link module does - pass if_type through convert_iftype().
That restores historicaly behaviour of listing lagg(4) ports.

Reviewed by:		melifaro
Differential Revision:	https://reviews.freebsd.org/D41585
2023-08-25 10:31:26 -07:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
af_inet6.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_inet.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_link.c ifconfig: fix 'ifconfig -l ether' 2023-08-25 10:31:26 -07:00
af_nd6.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
carp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifbridge.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifclone.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifconfig_netlink.c ifconfig: fix 'ifconfig -l ether' 2023-08-25 10:31:26 -07:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
ifconfig.8 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
ifconfig.c ifconfig: fix logical error in interface matching for '-l ether' 2023-08-25 10:30:25 -07:00
ifconfig.h ifconfig: fix 'ifconfig -l ether' 2023-08-25 10:31:26 -07:00
iffib.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifgif.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgre.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ifgroup.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifieee80211.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifipsec.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
iflagg.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifmac.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifmedia.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifpfsync.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifstf.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvlan.c ifconfig: consistently sort set/clear commands 2023-06-25 16:09:26 -04:00
ifvxlan.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sfp.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00