summaryrefslogtreecommitdiff
path: root/src/nm-udev-manager.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@redhat.com>2012-10-29 19:02:45 -0500
committerDan Williams <dcbw@redhat.com>2012-11-30 13:21:51 -0600
commitcfff5a63d92cdccd6266b56308572c2683b5c4dd (patch)
tree47e5af32e28d6fd06d510d436d46fe8eba0efd6c /src/nm-udev-manager.c
parent20e60deccb023917f89bd3d5433295a72af67566 (diff)
downloadNetworkManager-cfff5a63d92cdccd6266b56308572c2683b5c4dd.tar.gz
bridge: add bridge device type
This adds a new device type 'bridge'. Kernel devices are created on demand.
Diffstat (limited to 'src/nm-udev-manager.c')
-rw-r--r--src/nm-udev-manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-udev-manager.c b/src/nm-udev-manager.c
index 60f41aab29..7e86740663 100644
--- a/src/nm-udev-manager.c
+++ b/src/nm-udev-manager.c
@@ -401,6 +401,9 @@ dev_get_attrs (GUdevDevice *udev_device,
case NM_IFACE_TYPE_BOND:
driver = "bonding";
break;
+ case NM_IFACE_TYPE_BRIDGE:
+ driver = "bridge";
+ break;
case NM_IFACE_TYPE_VLAN:
driver = "8021q";
break;