diff --git a/go.mod b/go.mod index 4f9d40c..5decf18 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/mainflux/coap-cli go 1.12 -require github.com/dustin/go-coap v0.0.0-20170214053734-ddcc80675fa4 +require github.com/dustin/go-coap v0.0.0-20190908170653-752e0f79981e diff --git a/go.sum b/go.sum index 0d6a4a4..08eddd1 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ github.com/dustin/go-coap v0.0.0-20170214053734-ddcc80675fa4 h1:+3t0PiNl/W3Cl4/+XmQ8gD1HQuw3ISaGHHmSBylNVJ8= github.com/dustin/go-coap v0.0.0-20170214053734-ddcc80675fa4/go.mod h1:as2rZ2aojRzZF8bGx1bPAn1yi9ICG6LwkiPOj6PBtjc= +github.com/dustin/go-coap v0.0.0-20190908170653-752e0f79981e h1:oppjHFVTardH+VyOD32F9uBtgT5Wd/qVqEGcwj389Lc= +github.com/dustin/go-coap v0.0.0-20190908170653-752e0f79981e/go.mod h1:as2rZ2aojRzZF8bGx1bPAn1yi9ICG6LwkiPOj6PBtjc= diff --git a/vendor/github.com/dustin/go-coap/message.go b/vendor/github.com/dustin/go-coap/message.go index 630ad2f..7a824b1 100644 --- a/vendor/github.com/dustin/go-coap/message.go +++ b/vendor/github.com/dustin/go-coap/message.go @@ -210,7 +210,7 @@ var optionDefs = [256]optionDef{ } // MediaType specifies the content type of a message. -type MediaType byte +type MediaType uint16 // Content types. const ( diff --git a/vendor/modules.txt b/vendor/modules.txt index 2f1d707..98ff8d3 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,2 +1,2 @@ -# github.com/dustin/go-coap v0.0.0-20170214053734-ddcc80675fa4 +# github.com/dustin/go-coap v0.0.0-20190908170653-752e0f79981e github.com/dustin/go-coap