i3 / i3/i3status

Ethernet iface's with @ in ifname not properly supported

Open Beginner friendly
#497 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
653
Forks
254
PR merge metrics
No merged PRs in 30d

Description

I run my develment environments in an lxc container. Inside of my virtual environment my ethernet address in Fedora is: eth0@if24

The 'optional strip' function of print_ip_addr.c does not seem to support this type of name.

I will submit a pull request that i believe will address the issue by looking for ':' and '@' and stripping after the first occurrence.

Contributor guide

Open the contributing guide

Research direction

Start in print_ip_addr.c and inspect the optional strip function used for interface names. Reproduce the handling of an interface named eth0@if24, then verify that stripping stops after the first ':' or '@' occurrence and preserves the expected status-bar output.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.