pvl/hosts/host.py
changeset 441 f058fff1f272
parent 440 1d755df7bf97
child 446 139b3a41b608
--- a/pvl/hosts/host.py	Tue Feb 24 17:35:36 2015 +0200
+++ b/pvl/hosts/host.py	Tue Feb 24 17:45:45 2015 +0200
@@ -188,7 +188,7 @@
         """
 
         if self.ip :
-            return host.ip
+            return self.ip
         else :
             # sorts first
             return ipaddr.IPAddress(0)