]> git.ipfire.org Git - thirdparty/libvirt.git/commit
interface: Improve udev backend device type id
authorDoug Goldstein <cardoe@cardoe.com>
Fri, 15 Feb 2013 22:48:07 +0000 (16:48 -0600)
committerDoug Goldstein <cardoe@cardoe.com>
Fri, 22 Feb 2013 00:00:06 +0000 (18:00 -0600)
commit2f272ad7598eae9cb02303df4a55f5f19e797cd5
tree23f9456a5f69198c720210d2f634c1ec4ba455f1
parent37099f0020eecf457674337fb108c6fe1e5ae802
interface: Improve udev backend device type id

Refactored the interface device type identification to make it more
clear about the operations. Add support for udev devtype to detect
VLANs on Linux 3.7 and newer. Move VLAN detection based on device
name to fallback case.
src/interface/interface_backend_udev.c