Merge pull request #65 from seemethere/cherry_pick_33609

Merge pull request #29418 from aboch/p66
This commit is contained in:
Andrew Hsu
2017-06-12 09:27:42 -07:00
committed by GitHub

View File

@ -410,6 +410,9 @@ func buildIpamResources(r *types.NetworkResource, nwInfo libnetwork.NetworkInfo)
if !hasIpv6Conf {
for _, ip6Info := range ipv6Info {
if ip6Info.IPAMData.Pool == nil {
continue
}
iData := network.IPAMConfig{}
iData.Subnet = ip6Info.IPAMData.Pool.String()
iData.Gateway = ip6Info.IPAMData.Gateway.String()