diff options
Diffstat (limited to 'libvirt-override-virNetwork.py')
-rw-r--r-- | libvirt-override-virNetwork.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-override-virNetwork.py b/libvirt-override-virNetwork.py index 749ee44..6e86590 100644 --- a/libvirt-override-virNetwork.py +++ b/libvirt-override-virNetwork.py @@ -1,11 +1,11 @@ def listAllPorts(self, flags=0): - """List all domains and returns a list of domain objects""" + """List all ports on the network and returns a list of network port objects""" ret = libvirtmod.virNetworkListAllPorts(self._o, flags) if ret is None: raise libvirtError("virNetworkListAllPorts() failed", conn=self) retlist = list() for domptr in ret: - retlist.append(virNetwork(self, _obj=domptr)) + retlist.append(virNetworkPort(self, _obj=domptr)) return retlist |