Wireshark-dev: Re: [Wireshark-dev] non-existant default interface
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 13 Feb 2007 15:05:29 -0800

On Feb 13, 2007, at 11:51 AM, Fulko.Hew@xxxxxxxxx wrote:

The problem is that there is code in gtk/capture_dlg.c at line 677
that looks to see if you had specified an interface on the command
line, and failing that, then extract the 'capture.device' entry
from the wireshark preferences file (which is typically 'eth0')
and add that to the list of available devices, _and_ makes it the
default selection.

On my system I don't have an 'eth0',

Then how did "eth0" get made the default capture device?

That's a preference setting, so it should only have become the default capture device if you explicitly made it so. If it became so without explicitly making it so (by editing your preferences), *that's* the bug.