mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
logparse.pl: fix a Perl warning.
Used the wrong kind of brackets when initialising the actual hash (as opposed to hash ref) %disc_reasons. Not sure how I didn't notice the warning in yesterday's testing!
This commit is contained in:
parent
4989447e72
commit
f41d365029
@ -545,7 +545,7 @@ my %packets = (
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
our %disc_reasons = {
|
our %disc_reasons = (
|
||||||
1 => "SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT",
|
1 => "SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT",
|
||||||
2 => "SSH_DISCONNECT_PROTOCOL_ERROR",
|
2 => "SSH_DISCONNECT_PROTOCOL_ERROR",
|
||||||
3 => "SSH_DISCONNECT_KEY_EXCHANGE_FAILED",
|
3 => "SSH_DISCONNECT_KEY_EXCHANGE_FAILED",
|
||||||
@ -561,7 +561,7 @@ our %disc_reasons = {
|
|||||||
13 => "SSH_DISCONNECT_AUTH_CANCELLED_BY_USER",
|
13 => "SSH_DISCONNECT_AUTH_CANCELLED_BY_USER",
|
||||||
14 => "SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE",
|
14 => "SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE",
|
||||||
15 => "SSH_DISCONNECT_ILLEGAL_USER_NAME",
|
15 => "SSH_DISCONNECT_ILLEGAL_USER_NAME",
|
||||||
};
|
);
|
||||||
|
|
||||||
my %verbose_packet_dump_functions = (
|
my %verbose_packet_dump_functions = (
|
||||||
'SSH2_MSG_KEXINIT' => sub {
|
'SSH2_MSG_KEXINIT' => sub {
|
||||||
|
Loading…
Reference in New Issue
Block a user