add default AddressType: Fixed

Signed-off-by: Christian Mouttet <cmouttet@gmail.com>
This commit is contained in:
Christian Mouttet 2015-10-10 16:45:52 +02:00
parent a93aabadff
commit cdb1557cac
1 changed files with 4 additions and 3 deletions

View File

@ -172,6 +172,7 @@ func (c *GenericClient) GetInstanceIpAddresses(d *Driver) ([]IpAddress, error) {
addr := IpAddress{
Network: network,
AddressType: Fixed,
Address: address["addr"].(string),
Version: int(version),
}