Follow up to 9d247d8

* Disable Packet Obfuscation if it's enabled and client version is below 2011-08-17.
This commit is contained in:
aleos89 2015-03-14 14:31:04 -04:00
parent 5a9ffc489f
commit bae469e6c6
2 changed files with 2 additions and 1 deletions

View File

@ -828,7 +828,7 @@ enum bound_type {
#ifdef PACKET_OBFUSCATION
#if PACKETVER < 20110817
#error core.h::PACKET_OBFUSCATION is enabled, it requires PACKETVER 20110817 or newer
#undef PACKET_OBFUSCATION
#endif
#endif

View File

@ -96,6 +96,7 @@
/// Comment to disable the official packet obfuscation support.
/// When enabled, make sure there is value for 'packet_keys' of used packet version or
/// defined 'packet_keys_use' in db/[import/]packet_db.txt.
/// This requires PACKETVER 2011-08-17 or newer.
#define PACKET_OBFUSCATION
/**