Ethernet iface's with @ in ifname not properly supported
Open
Beginner friendly
- 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
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