diff -r 5149c39f3dfc -r 74352351d6f5 pvl/hosts/interface.py --- a/pvl/hosts/interface.py Tue Mar 10 00:11:43 2015 +0200 +++ b/pvl/hosts/interface.py Tue Mar 10 00:26:31 2015 +0200 @@ -1,5 +1,5 @@ import collections -import ipaddress, ipaddr # XXX: conversion +import ipaddress import pvl.hosts import pvl.hosts.host @@ -57,8 +57,7 @@ for iface in self: if iface.ip4: - # XXX: convert - yield iface.name, ipaddr.IPv4Address(str(iface.ip4.ip)) + yield iface.name, iface.ip4.ip def __iter__(self): """