device: Ignore dummy networking devices
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 8 Jul 2011 16:34:15 +0000 (18:34 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 8 Jul 2011 17:08:41 +0000 (19:08 +0200)
commitcb53c7f9d140dd6270b4d72b61990579cb2f7153
tree516974ce4ba003afcd442656c6236a8c812dd39d
parente7f490373c11e78965c2d748122e1e06e19b41da
device: Ignore dummy networking devices

When a kernel comes with dummy network devices support enabled, the
dummy interface will take the default route whenever a real interface
disconnects.
This is not what we want as the default route won't be released then.
src/device.c