Skip to content
Snippets Groups Projects
Commit 38f42a0f authored by Matt Johnston's avatar Matt Johnston
Browse files

Fix error message for requirenext change

parent b4cdfcb5
No related branches found
No related tags found
No related merge requests found
Loading
@@ -77,8 +77,8 @@ void process_packet() {
Loading
@@ -77,8 +77,8 @@ void process_packet() {
if (ses.requirenext[0] != 0) { if (ses.requirenext[0] != 0) {
if (ses.requirenext[0] != type if (ses.requirenext[0] != type
&& (ses.requirenext[1] == 0 || ses.requirenext[1] != type)) { && (ses.requirenext[1] == 0 || ses.requirenext[1] != type)) {
dropbear_exit("Unexpected packet type %d, expected %d", type, dropbear_exit("Unexpected packet type %d, expected [%d,%d]", type,
ses.requirenext); ses.requirenext[0], ses.requirenext[1]);
} else { } else {
/* Got what we expected */ /* Got what we expected */
ses.requirenext[0] = 0; ses.requirenext[0] = 0;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment