Fixed _LONG_PAD bitmask.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 1 Jul 2007 13:56:59 +0000 (13:56 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 1 Jul 2007 13:56:59 +0000 (13:56 +0000)
lib/silccore/silcpacket.c
lib/silccore/silcpacket.h

index 9027c931105b475eed410ae50ab4e98354d74006..6dbb69bb44ca4d92751cdd58b439a69962a82d50 100644 (file)
@@ -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;
 }
index fc66439dccc0f3d98caf333265defdb26c1e5e8d..f8f41cb8a84ec14dc08f32d622dbfda0a20c3758 100644 (file)
@@ -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