Commit 38f42a0f authored by Matt Johnston's avatar Matt Johnston
Browse files

Fix error message for requirenext change

parent b4cdfcb5
...@@ -77,8 +77,8 @@ void process_packet() { ...@@ -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;
......
Markdown is supported
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