code: func (daemon *Daemon) getDefaultNetworkSettings(networks map[string]*network.EndpointSettings) types.DefaultNetworkSettings {
  	var settings types.DefaultNetworkSettings
  
  	if defaultNetwork, ok := networks["bridge"]; ok && defaultNetwork.EndpointSettings != nil {
  		settings.EndpointID = defaultNetwork.EndpointID
  		settings.Gateway = defaultNetwork.Gateway
  		settings.GlobalIPv6Address = defaultNetwork.GlobalIPv6Address
  		settings.GlobalIPv6PrefixLen = defaultNetwork.GlobalIPv6PrefixLen
  		settings.IPAddress = defaultNetwork.IPAddress
  		settings.IPPrefixLen = defaultNetwork.IPPrefixLen
  		settings.IPv6Gateway = defaultNetwork.IPv6Gateway
  		settings.MacAddress = defaultNetwork.MacAddress
  	}
  	return settings
  }
docs: // getDefaultNetworkSettings creates the deprecated structure that holds the information
  // about the bridge network for a container.