The interface name is way too short. I run btop on my OPNsense box, but this issue is not limited to FreeBSD.
I have several VLANs. e.g.: VLAN80, VLAN81, VLAN820, ...
However the interface name only shows igb0_vlan8, which makes it impossible to distinguish between the interfaces (unless you look at the GW IP address).
To Reproduce
have an interface which name is longer than 10 characters
start btop
Expected behavior
interface name is shown and not cut off after the 10th character
Screenshots
Info (please complete the following information):
btop++ version: 1.2.13 and 1.3.0
Binary: self compiled
(If compiled) Compiler and version: g++12 (12.2.0)
Architecture: amd64
Platform: FreeBSD
(Linux) Kernel: uname -r
(OSX/FreeBSD) Os release version: 13.2-RELEASE-p7
Terminal used: iTerm2
Font used: irrelevant
Additional context
Update: Actually the max length of an interface can be 15 characters. I'll create a PR to increase the max length from 10 to 15.
Describe the bug
The interface name is way too short. I run btop on my OPNsense box, but this issue is not limited to FreeBSD.
I have several VLANs. e.g.: VLAN80, VLAN81, VLAN820, ...
However the interface name only shows
igb0_vlan8
, which makes it impossible to distinguish between the interfaces (unless you look at the GW IP address).To Reproduce
Expected behavior
interface name is shown and not cut off after the 10th character
Screenshots
Info (please complete the following information):
uname -r
Additional context
Update: Actually the max length of an interface can be 15 characters. I'll create a PR to increase the max length from 10 to 15.