Merge pull request #2616 from arkodg/use-host-ip-for-version
Use hostIP to decide on Portmapper version
This commit is contained in:
commit
7ca3aff8d2
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ func (n *bridgeNetwork) allocatePort(bnd *types.PortBinding, ulPxyEnabled bool)
|
|||
|
||||
portmapper := n.portMapper
|
||||
|
||||
if bnd.IP.To4() == nil {
|
||||
if bnd.HostIP.To4() == nil {
|
||||
portmapper = n.portMapperV6
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue