Commit 0dfd016b authored by Daniel P. Berrange's avatar Daniel P. Berrange

Fix data type for ListAllInterfaceAddresses parameter

We have a constant defined for the interface address source, so should
use that data type, not uint.
Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent 5d0a855f
......@@ -1796,7 +1796,7 @@ type DomainInterface struct {
Addrs []DomainIPAddress
}
func (d *Domain) ListAllInterfaceAddresses(src uint) ([]DomainInterface, error) {
func (d *Domain) ListAllInterfaceAddresses(src DomainInterfaceAddressesSource) ([]DomainInterface, error) {
if C.LIBVIR_VERSION_NUMBER < 1002014 {
return []DomainInterface{}, GetNotImplementedError("virDomainInterfaceAddresses")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment