Mercurial > dropbear
changeset 778:96b8bcb88017 DROPBEAR_2013.57
Fix error message for requirenext change
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 15 Apr 2013 22:01:41 +0800 |
parents | 8dcdfd44e769 |
children | 095b46180bbc |
files | process-packet.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/process-packet.c Mon Apr 15 21:56:04 2013 +0800 +++ b/process-packet.c Mon Apr 15 22:01:41 2013 +0800 @@ -77,8 +77,8 @@ if (ses.requirenext[0] != 0) { if (ses.requirenext[0] != type && (ses.requirenext[1] == 0 || ses.requirenext[1] != type)) { - dropbear_exit("Unexpected packet type %d, expected %d", type, - ses.requirenext); + dropbear_exit("Unexpected packet type %d, expected [%d,%d]", type, + ses.requirenext[0], ses.requirenext[1]); } else { /* Got what we expected */ ses.requirenext[0] = 0;