Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] interface name length way too short, can't distinguish interfaces #713

Closed
tessus opened this issue Jan 12, 2024 · 0 comments · Fixed by #714
Closed

[BUG] interface name length way too short, can't distinguish interfaces #713

tessus opened this issue Jan 12, 2024 · 0 comments · Fixed by #714
Assignees
Labels
bug Something isn't working

Comments

@tessus
Copy link
Contributor

tessus commented Jan 12, 2024

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).

image

To Reproduce

  1. have an interface which name is longer than 10 characters
  2. start btop

Expected behavior

interface name is shown and not cut off after the 10th character

Screenshots

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants