commit bf61edd023188415b46e24e7446fb02947aa12ac
Author: Jan Tluka <jtluka(a)redhat.com>
Date: Fri Jan 10 17:38:21 2014 +0100
Fix copy-paste error in is_nm_managed call
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Slave/NmConfigDevice.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lnst/Slave/NmConfigDevice.py b/lnst/Slave/NmConfigDevice.py
index 4901729..bf488cb 100644
--- a/lnst/Slave/NmConfigDevice.py
+++ b/lnst/Slave/NmConfigDevice.py
@@ -457,7 +457,7 @@ class NmConfigDeviceBridge(NmConfigDeviceGeneric):
@classmethod
def is_nm_managed(cls, netdev, config):
if _dev_exists(netdev["hwaddr"]):
- managed = super(NmConfigDeviceBond, cls).is_nm_managed(netdev,
+ managed = super(NmConfigDeviceBridge, cls).is_nm_managed(netdev,
config)
else:
slave_id = get_slaves(netdev)[1]
@@ -598,7 +598,7 @@ class NmConfigDeviceVlan(NmConfigDeviceGeneric):
@classmethod
def is_nm_managed(cls, netdev, config):
if _dev_exists(netdev["hwaddr"]):
- managed = super(NmConfigDeviceBond, cls).is_nm_managed(netdev,
+ managed = super(NmConfigDeviceVlan, cls).is_nm_managed(netdev,
config)
else:
slave_id = get_slaves(netdev)[0]