Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #65 from seemethere/cherry_pick_33609
Browse files Browse the repository at this point in the history
Merge pull request #29418 from aboch/p66
  • Loading branch information
andrewhsu authored Jun 12, 2017
2 parents 514d89f + 091732e commit da2d17a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/engine/api/server/router/network/network_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit da2d17a

Please sign in to comment.