Commit 85d9672e authored by Matt Johnston's avatar Matt Johnston
Browse files

Send SSH_OPEN_RESOURCE_SHORTAGE response when too many channels open

rather than SSH_OPEN_UNKNOWN_CHANNEL_TYPE
parent e0ae5271
......@@ -971,6 +971,7 @@ void recv_msg_channel_open() {
if (channel == NULL) {
TRACE(("newchannel returned NULL"))
errtype = SSH_OPEN_RESOURCE_SHORTAGE;
goto failure;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment