use a uint8 for the EncryptionLevel

This commit is contained in:
Marten Seemann
2020-09-07 14:36:18 +07:00
parent bed802aee5
commit dc3d5618fc

View File

@@ -2,7 +2,7 @@ package protocol
// EncryptionLevel is the encryption level
// Default value is Unencrypted
type EncryptionLevel int
type EncryptionLevel uint8
const (
// EncryptionUnspecified is a not specified encryption level