diff --git a/network.go b/network.go index a109a70239..01d84379a2 100644 --- a/network.go +++ b/network.go @@ -319,7 +319,7 @@ func (manager *NetworkManager) Allocate() (*NetworkInterface, error) { return nil, err } iface := &NetworkInterface{ - IPNet: net.IPNet{ip, manager.bridgeNetwork.Mask}, + IPNet: net.IPNet{IP: ip, Mask: manager.bridgeNetwork.Mask}, Gateway: manager.bridgeNetwork.IP, manager: manager, }