diff -r ddb77f32b35a -r 45bedeba92e5 pvl/hosts/dhcp.py --- a/pvl/hosts/dhcp.py Sat Mar 07 16:31:11 2015 +0200 +++ b/pvl/hosts/dhcp.py Mon Mar 09 18:00:18 2015 +0200 @@ -24,8 +24,8 @@ yield 'option', 'host-name', host.name yield 'hardware', 'ethernet', pvl.dhcp.config.Field(ethernet) - if host.ip: - yield 'fixed-address', pvl.dhcp.config.Field(str(host.ip)) + if host.ip4: + yield 'fixed-address', pvl.dhcp.config.Field(str(host.ip4)) for bootopt in ('next-server', 'filename'): if bootopt in host.boot: