X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/3e34d2cea8844557376669f4782f07f5085253c9..c101217defaaa9b085875961712973834a397f29:/hmsniff.c diff --git a/hmsniff.c b/hmsniff.c index 638ae1d..c35b29d 100644 --- a/hmsniff.c +++ b/hmsniff.c @@ -231,6 +231,7 @@ static int parse_hmuartlgw(enum hmuartlgw_dst dst, uint8_t *buf, int buf_len, vo switch(buf[0]) { case HMUARTLGW_APP_RECV: + buf[3] = buf_len - 4; dissect_hm(buf + 3, buf_len - 3); case HMUARTLGW_APP_ACK: break;