i3 / i3status

Generates status bar to use with i3bar, dzen2 or xmobar
BSD 3-Clause "New" or "Revised" License
598 stars 251 forks source link

Ethernet iface's with @ in ifname not properly supported #497

Open daniel-widrick opened 2 years ago

daniel-widrick commented 2 years ago

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.