projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e32e2f1
)
Fix interface_name() after change of definition for the vlan field.
author
Ewan Mellor
<ewan@xensource.com>
Sun, 28 Jan 2007 15:55:55 +0000
(15:55 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sun, 28 Jan 2007 15:55:55 +0000
(15:55 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendPIF.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendPIF.py
b/tools/python/xen/xend/XendPIF.py
index a8afde95467d41b4f7f99a15cdbb30e3655b7d33..b7c9c2732022ae999c63d3985114b6ee581cc8fd 100644
(file)
--- a/
tools/python/xen/xend/XendPIF.py
+++ b/
tools/python/xen/xend/XendPIF.py
@@
-175,7
+175,7
@@
class XendPIF:
def interface_name(self):
- if self.vlan:
+ if self.vlan
!= -1
:
return '%s.%d' % (self.device, self.vlan)
else:
return self.device