Explorar el Código

Merge pull request #1231 from mrjana/overlay

Allow maximum possible VNI
Alessandro Boch hace 9 años
padre
commit
faf290f69e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libnetwork/drivers/overlay/overlay.go

+ 1 - 1
libnetwork/drivers/overlay/overlay.go

@@ -22,7 +22,7 @@ const (
 	vethPrefix   = "veth"
 	vethLen      = 7
 	vxlanIDStart = 256
-	vxlanIDEnd   = 1000
+	vxlanIDEnd   = (1 << 24) - 1
 	vxlanPort    = 4789
 	vxlanVethMTU = 1450
 )