OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.7 Legacy Series »
  • Very Minor Gui Issue
« previous next »
  • Print
Pages: [1]

Author Topic: Very Minor Gui Issue  (Read 1412 times)

ProximusAl

  • Full Member
  • ***
  • Posts: 111
  • Karma: 15
    • View Profile
Very Minor Gui Issue
« on: August 23, 2022, 02:18:21 pm »
Just a tiny little thing my OCD doesn't like seeing.

In the interfaces section of the Dashboard, there is a mismatch in the descriptor of the speed.

1000baseT and 2500Base-T.

From my limited googling, it seems like the latter is correct, so ideally both should read:
1000Base-T and 2500Base-T

As I say, not an issue, but should be a reasonably simple fix to implement.

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17750
  • Karma: 1620
    • View Profile
Re: Very Minor Gui Issue
« Reply #1 on: August 23, 2022, 02:21:22 pm »
Might be a driver issue? We only process the following from ifconfig:

% ifconfig | grep media:
   media: Ethernet autoselect (1000baseT <full-duplex>)
   media: Ethernet autoselect (1000baseT <full-duplex>)
   media: Ethernet autoselect
   media: Ethernet autoselect
   media: Ethernet autoselect
   media: Ethernet autoselect
   media: Ethernet autoselect
   media: Ethernet autoselect (1000baseT <full-duplex>)
   media: Ethernet autoselect (1000baseT <full-duplex>)
   media: Ethernet autoselect (autoselect <full-duplex>)


Cheers,
Franco
Logged

ProximusAl

  • Full Member
  • ***
  • Posts: 111
  • Karma: 15
    • View Profile
Re: Very Minor Gui Issue
« Reply #2 on: August 23, 2022, 02:22:47 pm »
Looks like you are correct Franco:

# ifconfig | grep media:
        media: Ethernet autoselect (2500Base-T <full-duplex>)
        media: Ethernet autoselect (1000baseT <full-duplex>)
        media: Ethernet autoselect (1000baseT <full-duplex>)
        media: Ethernet autoselect
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17750
  • Karma: 1620
    • View Profile
Re: Very Minor Gui Issue
« Reply #3 on: August 23, 2022, 02:25:14 pm »
FreeBSD source file is https://github.com/opnsense/src/blob/stable/22.7/sys/net/if_media.h#L432

Looks like a historic artefact, but unsure if anyone is crazy enough to edit this for consistency. :)


Cheers,
Franco
Logged

ProximusAl

  • Full Member
  • ***
  • Posts: 111
  • Karma: 15
    • View Profile
Re: Very Minor Gui Issue
« Reply #4 on: August 23, 2022, 02:47:46 pm »
My OCD is not *that* bad to attempt that :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17750
  • Karma: 1620
    • View Profile
Re: Very Minor Gui Issue
« Reply #5 on: August 23, 2022, 08:53:41 pm »
I think we might even use these strings in "Speed and duplex" setting so ifconfig is accepting them as well and nobody will ever be able to touch those... :D


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.7 Legacy Series »
  • Very Minor Gui Issue
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2