vergoh / vnstat

vnStat - a network traffic monitor for Linux and BSD
GNU General Public License v2.0
1.41k stars 120 forks source link

rename: Correctly print existing interface #173

Closed AniLeo closed 3 years ago

AniLeo commented 3 years ago

I was renaming my interface in vnstat from enp8s0 to enp9s0 as my network adapter changed names and noticed the wrong interface was being printed here.

It's supposed to print the newer interface's name - as it's an error regarding it already existing on the database.

vergoh commented 3 years ago

Thanks. Good finding and something I've somehow managed to miss.