Update go-connections to 7beb39f0b969b075d1325fecb092faf27fd357b6

- Support parsing SCTP port mapping

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2018-02-20 17:45:42 +01:00
parent d9f5fa8124
commit 88874b5eff
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@ github.com/docker/docker-credential-helpers 3c90bd29a46b943b2a9842987b58fb91a7c1
# the docker/go package contains a customized version of canonical/json # the docker/go package contains a customized version of canonical/json
# and is used by Notary. The package is periodically rebased on current Go versions. # and is used by Notary. The package is periodically rebased on current Go versions.
github.com/docker/go d30aec9fd63c35133f8f79c3412ad91a3b08be06 github.com/docker/go d30aec9fd63c35133f8f79c3412ad91a3b08be06
github.com/docker/go-connections 98e7d807e5d804e4e42a98d74d1dd695321224ef github.com/docker/go-connections 7beb39f0b969b075d1325fecb092faf27fd357b6
github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9 github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9
github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1 github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1
github.com/docker/swarmkit 713d79dc8799b33465c58ed120b870c52eb5eb4f github.com/docker/swarmkit 713d79dc8799b33465c58ed120b870c52eb5eb4f

View File

@ -113,7 +113,7 @@ func SplitProtoPort(rawPort string) (string, string) {
} }
func validateProto(proto string) bool { func validateProto(proto string) bool {
for _, availableProto := range []string{"tcp", "udp"} { for _, availableProto := range []string{"tcp", "udp", "sctp"} {
if availableProto == proto { if availableProto == proto {
return true return true
} }

View File

@ -4,7 +4,6 @@ package tlsconfig
import ( import (
"crypto/x509" "crypto/x509"
) )
// SystemCertPool returns an new empty cert pool, // SystemCertPool returns an new empty cert pool,