diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-04-15 22:01:41 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-04-15 22:01:41 +0800 |
commit | 38f42a0fa204e81f2f23357f72c91d6f09654546 (patch) | |
tree | 48e6afc3ceb1b35cc4187d8c129479f7d28a1881 /process-packet.c | |
parent | b4cdfcb506dd872b871ae1fad97e474c0658c286 (diff) |
Fix error message for requirenext change
Diffstat (limited to 'process-packet.c')
-rw-r--r-- | process-packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/process-packet.c b/process-packet.c index 3ac0c1b..ecc4863 100644 --- a/process-packet.c +++ b/process-packet.c @@ -77,8 +77,8 @@ void process_packet() { 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; |