Support _ in ssh hostname

This commit is contained in:
QC 2014-01-26 16:21:08 +01:00
parent 4efeb421f2
commit 8b6b494830

View file

@ -176,7 +176,7 @@ static char ** get_ssh ( )
for ( start=4; isspace( buffer[start] ); start++ );
for ( stop=start; isalnum( buffer[stop] ); stop++ );
for ( stop=start; isalnum( buffer[stop] ) || buffer[stop] == '_' ; stop++ );
int found = 0;