]> git.lizzy.rs Git - mt_net.git/commitdiff
Fix compression modes constant
authorLizzy Fleckenstein <eliasfleckenstein@web.de>
Thu, 16 Feb 2023 22:07:19 +0000 (23:07 +0100)
committerLizzy Fleckenstein <eliasfleckenstein@web.de>
Thu, 16 Feb 2023 22:07:19 +0000 (23:07 +0100)
src/to_clt.rs

index 5f99be31775e273bf79930809697d230dc2598a8..deb0bb36482aa7d5a085fa181ac58e7d919a230d 100644 (file)
@@ -70,7 +70,7 @@ pub use sky::*;
 pub enum ToCltPkt {
     Hello {
         serialize_version: u8,
-        #[mt(const_before = "1u16")] // compression
+        #[mt(const_before = "0u16")] // compression
         proto_version: u16,
         auth_methods: EnumSet<AuthMethod>,
         username: String,