summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--easytool/easytool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/easytool/easytool.c b/easytool/easytool.c
index d6b799e..65de185 100644
--- a/easytool/easytool.c
+++ b/easytool/easytool.c
@@ -168,7 +168,7 @@ static void dump_easycard(mifare_tag *mft)
struct mfcl_value_block *val =
(struct mfcl_value_block *) mft->amb[8].mbd.abtData;
struct easy_block2sec0 *b2s0 =
- (struct easy_block2sec0 *) mft->amb[2*4+0].mbd.abtData;
+ (struct easy_block2sec0 *) mft->amb[1*4+0].mbd.abtData;
struct easy_block15sec2 *b15s2 =
(struct easy_block15sec2 *) mft->amb[15*4+2].mbd.abtData;
uint32_t uid = *((uint32_t *) manuf->abtUID);
personal git repositories of Harald Welte. Your mileage may vary