Fix: hf 14a sim parsing args was taking tag type as number of reads if no -n option given
This commit is contained in:
1 parent
971452f817
commit
f828a727c9
1 file changed
+1
-1
@@ -715,7 +715,7 @@ int CmdHF14ASim(const char *Cmd) {
|
||||
useUIDfromEML = false;
|
||||
}
|
||||
|
||||
uint8_t exitAfterNReads = arg_get_int(ctx, 3);
|
||||
uint8_t exitAfterNReads = arg_get_int_def(ctx, 3, 0);
|
||||
|
||||
if (arg_get_lit(ctx, 4)) {
|
||||
flags |= FLAG_NR_AR_ATTACK;
|
||||
|
||||
Reference in new issue
Block a user