]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf.c
ADD: @holiman's clearCommandBuffer in cmdlft55xx.c
[proxmark3-svn] / client / cmdhf.c
index 745d2829191836af54f263b250b2d757eea49695..538e973e2a99a6a0a470dae125d1435b92834961 100644 (file)
@@ -209,7 +209,7 @@ void annotateTopaz(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize)
 
 void annotateIso7816(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize){
 
-       int pos = (cmd[0] == 2 ||  cmd[0] == 3) ? 1 : 2;
+       int pos = (cmd[0] == 2 ||  cmd[0] == 3) ? 2 : 3;
 
        switch ( cmd[pos] ){
                case ISO7816_READ_BINARY                                :snprintf(exp, size, "READ BIN");break;
Impressum, Datenschutz