mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Complete pull request #121, init TCPAddr with named field
This commit is contained in:
parent
fac32cda5a
commit
ab99e9252d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue