From: Pekka Riikonen Date: Sun, 1 Jul 2007 13:56:59 +0000 (+0000) Subject: Fixed _LONG_PAD bitmask. X-Git-Tag: silc.trunk.merged.silc.1.1.branch.0~3 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=e6d39ab40e6ef5a647d278756fb8a8bcb4ded510 Fixed _LONG_PAD bitmask. --- diff --git a/lib/silccore/silcpacket.c b/lib/silccore/silcpacket.c index 9027c931..6dbb69bb 100644 --- a/lib/silccore/silcpacket.c +++ b/lib/silccore/silcpacket.c @@ -1972,8 +1972,8 @@ static inline SilcBool silc_packet_parse(SilcPacket packet) silc_buffer_len(buffer)), buffer->head, silc_buffer_headlen(buffer) + silc_buffer_len(buffer)); - SILC_LOG_DEBUG(("Incoming packet type: %d (%s)", packet->type, - silc_get_packet_name(packet->type))); + SILC_LOG_DEBUG(("Incoming packet type: %d (%s), flags %d", packet->type, + silc_get_packet_name(packet->type), packet->flags)); return TRUE; } diff --git a/lib/silccore/silcpacket.h b/lib/silccore/silcpacket.h index fc66439d..f8f41cb8 100644 --- a/lib/silccore/silcpacket.h +++ b/lib/silccore/silcpacket.h @@ -115,7 +115,7 @@ typedef SilcUInt8 SilcPacketFlags; #define SILC_PACKET_FLAG_ACK 0x10 /* Acknowledge packet */ /* Impelemntation specific flags */ -#define SILC_PACKET_FLAG_LONG_PAD 0x12 /* Use maximum padding */ +#define SILC_PACKET_FLAG_LONG_PAD 0x20 /* Use maximum padding */ /***/ /****s* silccore/SilcPacketAPI/SilcPacketEngine