This commit is contained in:
Joris Vink 2017-01-30 22:47:41 +01:00
parent 6e7de9ab93
commit bb9dbbec12
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ websocket_recv_opcode(struct netbuf *nb)
}
if (WEBSOCKET_RSV(nb->buf[0], 1) || WEBSOCKET_RSV(nb->buf[0], 2) ||
WEBSOCKET_RSV(nb->buf[0], 2)) {
WEBSOCKET_RSV(nb->buf[0], 3)) {
kore_debug("%p: RSV bits are not zero", c);
return (KORE_RESULT_ERROR);
}