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

Default Gateway endpoints must be annonymous

Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
Madhu Venugopal 2015-10-23 16:52:11 -07:00
parent 0c9eeec760
commit a687e431c0

View file

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