1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #704 from mavenugo/dgw

Default Gateway endpoints must be annonymous
This commit is contained in:
aboch 2015-10-23 17:08:10 -07:00
commit df8c425c3d

View file

@ -58,6 +58,8 @@ func (sb *sandbox) setupDefaultGW(srcEp *endpoint) error {
}
}
createOptions = append(createOptions, CreateOptionAnonymous())
eplen := gwEPlen
if len(sb.containerID) < gwEPlen {
eplen = len(sb.containerID)