-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add port duplex status ans speed unit as tags
Recent firmwares apparently display speed as something like '1000 Mbps Full', where previously it was '1000 Mbps', causing the string parser to not properly extract the speed. We now split the port speed string on whitespace, making sure we have the integer value, and use the other 1 or two parts as tags.
- Loading branch information
1 parent
755452b
commit c5b13f5
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters