From: Heiko Z. <he...@zu...> - 2012-03-05 14:53:44
|
Andrzej, I upgraded the kernel in CVS to 3.2.9 over the weekend. Could you verify that this problem still exists in the newer version? If yes, then I don't see an issue with adding the patch. Heiko Quoting Andrzej Odyniec <an...@ma...>: > Heiko, > > Linux kernel (now 3.2.6) shows network interfaces in file > /proc/net/dev not sorted, so far, but in some strange, random order. > Network interfaces and tunnel pseudointerfaces are mixed. Meanwhile > IPtraf builds an interface menu as well as the list of interfaces to > the general statistics based on this file. If the router has a > several interfaces, finding the appropriate becomes very difficult. > > I wrote the following patch to solve this problem, because I have on > my central router several OpenVPN tunnels to office branches. So > after building a list of interfaces, this list is also sorted > lexicographically by name. > > In addition, in file /var/iptraf/iface.desc we can assign aliases > and sorting keys for interfaces, in this way easily managing list. > File is described in intro to patch. > > Regards > > Andrzej Odyniec -- Regards Heiko Zuerker http://www.devil-linux.org |