On Tue, 2011-10-18 at 08:49 +0200, Alexander Reichle-Schmehl wrote:

> I just uploaded iftop 1.0pre2 to Debian experimental, which might
> address this problem.  Could you give it a try and report back?

Still chooses eth0 by default.

Looking at the code, it finds the first interface which is up and not
the loopback interface, falling back on eth0 if none are found.

On my system eth0 is up but has no routes associated with it.

I think the code should be changed in two ways:

      * Only consider interfaces with routes associated with them.
      * Prefer the interface with a default route to other ones.

I personally do not know enough about networking code to re-implement
the interface iteration function to take these into account, sorry.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to