diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-08-13 16:17:23 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-08-13 16:17:23 +0800 |
commit | 5ef48a91ed651712e8cceafd1feca3087f75ea15 (patch) | |
tree | 8da00ac325b8acb0c614b0f25bbdd02e2c6145d7 | |
parent | 44909c525bced3f8f2061dc4b84c4986968dde75 (diff) |
use correct block number for production timestamp
-rw-r--r-- | easytool/easytool.c | 2 |
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); |