diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-12-08 14:51:12 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-12-08 18:11:53 +0100 |
commit | f72d0f6efbdbf533ed2796318743e906249ce46d (patch) | |
tree | fbf1707c7231cf1c8ec998780251efa5c7697f5a /src/devices/nm-device-bridge.c | |
parent | 7dbf821cb2982672dc5bc1e0088f6a113ed81f87 (diff) | |
download | NetworkManager-f72d0f6efbdbf533ed2796318743e906249ce46d.tar.gz |
device: set link type from all factories
This is, in particular, important for devices that support multiple link types
which can not be changed once the platform device exists.
Diffstat (limited to 'src/devices/nm-device-bridge.c')
-rw-r--r-- | src/devices/nm-device-bridge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device-bridge.c b/src/devices/nm-device-bridge.c index e43ce858b6..39d41ae4d4 100644 --- a/src/devices/nm-device-bridge.c +++ b/src/devices/nm-device-bridge.c @@ -471,6 +471,7 @@ create_device (NMDeviceFactory *factory, NM_DEVICE_DRIVER, "bridge", NM_DEVICE_TYPE_DESC, "Bridge", NM_DEVICE_DEVICE_TYPE, NM_DEVICE_TYPE_BRIDGE, + NM_DEVICE_LINK_TYPE, NM_LINK_TYPE_BRIDGE, NM_DEVICE_IS_MASTER, TRUE, NULL); } |