From dab1c6f5e95b4bd59af7c66e3d378227e037064a Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Tue, 6 Jun 2017 13:30:06 -0400 Subject: [PATCH] lf presco help and command loop != thanks to @iceman1001 for noticing. --- client/cmdlfpresco.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdlfpresco.c b/client/cmdlfpresco.c index ee3b5d5b..29fc81f2 100644 --- a/client/cmdlfpresco.c +++ b/client/cmdlfpresco.c @@ -68,8 +68,8 @@ int GetWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode *fullcode = param_get32ex(Cmd, cmdp+1, 0, 10); cmdp+=2; break; - case 'P': - case 'p': + case 'D': + case 'd': //param get string int param_getstr(const char *line, int paramnum, char * str) stringlen = param_getstr(Cmd, cmdp+1, id); if (stringlen < 2) return -1; -- 2.39.2