chiark / gitweb /
hippotatlib/__init__.py: Make `vaddr' be an actual address object.
[hippotat.git] / hippotatlib / __init__.py
index de939c8..dad12b2 100644 (file)
@@ -521,7 +521,7 @@ def cfg_process_vnetwork(c, ss):
 
 def cfg_process_vaddr(c, ss):
   try:
-    c.vaddr = cfg1get(ss,'vaddr')
+    c.vaddr = ipaddr(cfg1get(ss,'vaddr'))
   except NoOptionError:
     cfg_process_vnetwork(c, ss)
     c.vaddr = next(c.vnetwork.hosts())