/* Converts a ZigBee 2003 & earlier cluster ID to a 2006  */
static guint16 zdp_convert_2003cluster(guint8 cluster)
/* Converts a ZigBee 2003 & earlier cluster ID to a 2006  */
static guint16 zdp_convert_2003cluster(guint8 cluster)
{
    guint16 cluster16 = (guint16)cluster;
    if (cluster16 & ZBEE_ZDP_MSG_RESPONSE_BIT_2003) {
        cluster16 &= ~(ZBEE_ZDP_MSG_RESPONSE_BIT_2003);
        cluster16 |= (ZBEE_ZDP_MSG_RESPONSE_BIT);
    }
    return cluster16;
}