summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2017-05-17 09:40:03 +0800
committerQiuwen Lu <[email protected]>2017-05-17 09:40:03 +0800
commitb6675576ef71e12b39bdec6699ce567947103b4b (patch)
tree91c564bea24ef1273477e635e28dbfe36f7253d0 /tools
parent43a3c1c72bc2b51fe70168fb77d5458fca4e67f7 (diff)
修正网卡绑定脚本中绑定所有网卡操作是传参数数量不一致的Bug。v4.1.7-20170517rel-4.1dev-4.1
Diffstat (limited to 'tools')
-rw-r--r--tools/devbind/devbind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/devbind/devbind.py b/tools/devbind/devbind.py
index 6855ffc..39b8ea0 100644
--- a/tools/devbind/devbind.py
+++ b/tools/devbind/devbind.py
@@ -355,7 +355,7 @@ def bind_all(devices, dev_list, driver, force=False):
# check if updated information indicates that the device was bound
if "Driver_str" in devices[d]:
- unbind_one(d, force)
+ unbind_one(devices, d, force)
def hwfile_encode(location):
devices = get_nic_details()