Ensure loading of host defs in ssh config file is case insensitive

This commit is contained in:
duncan_ferguson 2008-01-25 09:46:29 +00:00
parent 2a5fc7e686
commit fca92a477b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-01-23 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.23-1
* Apply bugfix supplied by Jima
- Ensure loading of hosts from user ssh config file is case insensitive
2008-01-23 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.22-1
* Update X resources class to allow use of terms other than XTerm

View file

@ -371,7 +371,7 @@ sub check_ssh_hostnames {
if ( -r $ssh_config && open( SSHCFG, "<", $ssh_config ) ) {
while (<SSHCFG>) {
next unless (m/^\s*host\s+([\w\.-]+)/);
next unless (m/^\s*host\s+([\w\.-]+)/i);
$ssh_hostnames{$1} = 1;
}
close(SSHCFG);