fix bug with skipping received unimplemented messages

pull/1/head
John Safranek 2014-12-18 15:17:07 -08:00
parent 62d916d016
commit d0c6768d5d
1 changed files with 3 additions and 0 deletions

View File

@ -1241,7 +1241,10 @@ static int DoPacket(WOLFSSH* ssh)
default:
WLOG(WS_LOG_DEBUG, "Unimplemented message ID (%d)", msg);
#ifdef SHOW_UNIMPLEMENTED
DumpOctetString(buf + idx, payloadSz);
#endif
idx += payloadSz;
SendUnimplemented(ssh);
break;
}