Mercurial > dropbear
comparison process-packet.c @ 26:0969767bca0d
snapshot of stuff
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Jul 2004 02:44:20 +0000 |
parents | c1e5d9195402 |
children | 08da099e8337 |
comparison
equal
deleted
inserted
replaced
25:e4b6e2d569b2 | 26:0969767bca0d |
---|---|
102 * This is different from the server-mode behaviour, when | 102 * This is different from the server-mode behaviour, when |
103 * a packet type mismatch would have caused sudden death. | 103 * a packet type mismatch would have caused sudden death. |
104 */ | 104 */ |
105 | 105 |
106 /* check that we aren't expecting a particular packet */ | 106 /* check that we aren't expecting a particular packet */ |
107 #if 0 | |
107 if (cli_ses.expecting && cli_ses.expecting == type) { | 108 if (cli_ses.expecting && cli_ses.expecting == type) { |
108 cli_ses.expecting = 0; | 109 cli_ses.expecting = 0; |
109 } | 110 } |
111 #endif | |
110 } | 112 } |
111 #endif | 113 #endif |
112 | 114 |
113 /* Kindly the protocol authors gave all the preauth packets type values | 115 /* Kindly the protocol authors gave all the preauth packets type values |
114 * less-than-or-equal-to 60 ( == MAX_UNAUTH_PACKET_TYPE ). | 116 * less-than-or-equal-to 60 ( == MAX_UNAUTH_PACKET_TYPE ). |