projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16cd277
)
xenserver: Fix infinite recursion in get_netdev_by_mac.
author
Ben Pfaff
<blp@nicira.com>
Fri, 7 Aug 2009 21:46:58 +0000
(14:46 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 7 Aug 2009 21:47:06 +0000
(14:47 -0700)
Oops.
xenserver/opt_xensource_libexec_interface-reconfigure
patch
|
blob
|
history
diff --git
a/xenserver/opt_xensource_libexec_interface-reconfigure
b/xenserver/opt_xensource_libexec_interface-reconfigure
index 5f19ff3684463927fca57bb10d2e570b39a35be8..05d6a8b0ebc52ab4588e6447883b29716d5d32bb 100755
(executable)
--- a/
xenserver/opt_xensource_libexec_interface-reconfigure
+++ b/
xenserver/opt_xensource_libexec_interface-reconfigure
@@
-267,7
+267,7
@@
def get_netdev_tx_queue_len(device):
def get_netdev_by_mac(mac):
maybe = None
for device in os.listdir("/sys/class/net"):
- dev_mac = get_netdev_
by_
mac(device)
+ dev_mac = get_netdev_mac(device)
if dev_mac and mac.lower() == dev_mac.lower():
if get_netdev_tx_queue_len(device):
return device