=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/match.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- src/usr.bin/ssh/match.c 2015/05/04 06:10:48 1.30 +++ src/usr.bin/ssh/match.c 2016/08/23 03:22:49 1.31 @@ -1,4 +1,4 @@ -/* $OpenBSD: match.c,v 1.30 2015/05/04 06:10:48 djm Exp $ */ +/* $OpenBSD: match.c,v 1.31 2016/08/23 03:22:49 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -156,7 +156,8 @@ return -1; /* Negative */ else got_positive = 1; /* Positive */ - } + } else if (negated) + got_positive = 1; } /*