diff options
author | jhb <jhb@FreeBSD.org> | 2015-08-12 04:51:54 +0800 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-08-12 04:51:54 +0800 |
commit | 1b203136463fa83ca6d2ba96bfa131a623bfa8a1 (patch) | |
tree | 9f881b64da83fba7d8da54dbd95a8254d1ebe8c6 /archivers/unarj | |
parent | 6fccc0c2f3b33108c13a635edd8490596dcb847d (diff) | |
download | freebsd-ports-gnome-1b203136463fa83ca6d2ba96bfa131a623bfa8a1.tar.gz freebsd-ports-gnome-1b203136463fa83ca6d2ba96bfa131a623bfa8a1.tar.zst freebsd-ports-gnome-1b203136463fa83ca6d2ba96bfa131a623bfa8a1.zip |
Fix some nits with displaying Ethernet media status exposed by the recent
extended Ethernet media states:
- Don't apply IFM_SUBTYPE to the raw subtype in the description table.
IFM_SUBTYPE() requires a fully populated word and was truncating values
in the table when comparing resulting in false matches (notably
"10GBase-KX4" for the no media case).
- Explicitly check for IFM_ETHER.
- Use SIOCGIFXMEDIA when present to obtain extended media states.
- Explicitly handle "no carrier".
PR: 202247
Reviewed by: bapt
Diffstat (limited to 'archivers/unarj')
0 files changed, 0 insertions, 0 deletions