=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.c,v retrieving revision 1.289 retrieving revision 1.290 diff -u -r1.289 -r1.290 --- src/usr.bin/ssh/servconf.c 2016/05/03 15:57:39 1.289 +++ src/usr.bin/ssh/servconf.c 2016/05/04 14:00:09 1.290 @@ -1,5 +1,5 @@ -/* $OpenBSD: servconf.c,v 1.289 2016/05/03 15:57:39 djm Exp $ */ +/* $OpenBSD: servconf.c,v 1.290 2016/05/04 14:00:09 dtucker Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved @@ -1960,7 +1960,7 @@ * M_CP_INTOPT - it does a signed comparison that causes compiler * warnings. */ - if (src->fwd_opts.streamlocal_bind_mask == (mode_t)-1) { + if (src->fwd_opts.streamlocal_bind_mask != (mode_t)-1) { dst->fwd_opts.streamlocal_bind_mask = src->fwd_opts.streamlocal_bind_mask; }