Correct typos in noise.go (#205)

This commit is contained in:
Felix Yan
2020-03-30 13:23:55 -05:00
committed by GitHub
parent 1297090af3
commit 9e2ff7df57
2 changed files with 6 additions and 6 deletions

View File

@ -299,9 +299,9 @@ func Main(configPath string, configTest bool, buildVersion string) {
switch ifConfig.Cipher {
case "aes":
noiseEndiannes = binary.BigEndian
noiseEndianness = binary.BigEndian
case "chachapoly":
noiseEndiannes = binary.LittleEndian
noiseEndianness = binary.LittleEndian
default:
l.Fatalf("Unknown cipher: %v", ifConfig.Cipher)
}