Skip to content

Commit db1eafb

Browse files
committed
Tweak OTA mask
sync with shadowsocks-libev Signed-off-by: Syrone Wong <[email protected]>
1 parent 32225ed commit db1eafb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shadowsocks-csharp/Encryption/IVEncryptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected virtual void initCipher(byte[] iv, bool isCipher)
106106
#region OneTimeAuth
107107

108108
public const int ONETIMEAUTH_FLAG = 0x10;
109-
public const int ADDRTYPE_MASK = 0xF;
109+
public const int ADDRTYPE_MASK = 0xEF;
110110

111111
public const int ONETIMEAUTH_BYTES = 10;
112112

0 commit comments

Comments
 (0)