21 lines
768 B
Diff
21 lines
768 B
Diff
|
|
||
|
Subject: domain: Fix typo that broke net stats gathering
|
||
|
From: Cole Robinson crobinso@redhat.com Wed Jul 27 12:02:29 2011 -0400
|
||
|
Date: Wed Jul 27 12:02:29 2011 -0400:
|
||
|
Git: 62a762e77f2f5e5298ececda6fb4638b8488da4a
|
||
|
|
||
|
|
||
|
Index: virt-manager-0.9.0/src/virtManager/domain.py
|
||
|
===================================================================
|
||
|
--- virt-manager-0.9.0.orig/src/virtManager/domain.py
|
||
|
+++ virt-manager-0.9.0/src/virtManager/domain.py
|
||
|
@@ -1448,7 +1448,7 @@ class vmmDomain(vmmLibvirtObject):
|
||
|
def _sample_network_traffic(self):
|
||
|
rx = 0
|
||
|
tx = 0
|
||
|
- if (not self._stats_net_supported or not
|
||
|
+ if (not self._stats_net_supported or
|
||
|
not self._enable_net_poll or
|
||
|
not self.is_active()):
|
||
|
return rx, tx
|