Bug #15602
closed
Dashboard interface widget does not use consistent capitalization or formatting for BASE-T designations
Added by Jordan G about 2 months ago.
Updated about 2 months ago.
Affected Architecture:
All
Description
Capitalization and formatting between 1000 and 2500 BASE-T designations is not consistent in the dashboard interface widget. 2500 uses a hyphen in base-t where 1000 does not.
![](/attachments/download/6170/capitalb.png)
Files
I can confirm this behavior. To add to it, 10 Gigabit links show "10Gbase" with a lower case b and upper case G, so there isn't really any consistency to what does and doesn't get capitalized. 2.5 gigabit get a capital B, but 1 gigabit does not, 10 gigabit gets a capital G for Gigabit, but not for the "b" in BASE. We should update everything to be consistent across the board. Probably with just all caps, as that is how it's represented in most situations.
- Status changed from New to Rejected
The widget merely passes through the values displayed by the operating system, it does not format things on its own.
: ifconfig -m igc0
[...]
supported media:
media autoselect
media 2500Base-T
media 1000baseT
media 1000baseT mediaopt full-duplex
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
: ifconfig -m ix0
[...]
media autoselect
media 1000baseSX
media 10Gbase-SR
There may be other consequences to changing that in the OS, and trying to enforce specific formatting in the widget seems like adding technical debt for no tangible benefit.
If someone insists, they could open a PR upstream with FreeBSD directly.
Also available in: Atom
PDF