=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.348 retrieving revision 1.349 diff -u -r1.348 -r1.349 --- src/usr.bin/ssh/clientloop.c 2020/10/07 02:22:23 1.348 +++ src/usr.bin/ssh/clientloop.c 2020/10/08 01:15:16 1.349 @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.348 2020/10/07 02:22:23 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.349 2020/10/08 01:15:16 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1858,9 +1858,9 @@ /* UpdateHostkeys is skipped for wildcard host names */ if (strchr(l->hosts, '*') != NULL || - strchr(l->hosts, ',') != NULL) { - debug3("%s: hostkeys file %s:%ld contains wildcard or pattern", - __func__, l->path, l->linenum); + strchr(l->hosts, '?') != NULL) { + debug3("%s: hostkeys file %s:%ld contains wildcard", __func__, + l->path, l->linenum); ctx->wildcard_hostspec = 1; }