diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-12-13 15:03:03 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-12-13 15:03:03 +0000 |
commit | 36f76e8c7254dfc80aa90121e5f77e207e91c4eb (patch) | |
tree | ca9c955ad522c0024668f16ad11d3d4de807d379 /usr.bin | |
parent | 569aea7c2658c2ed332fd2433cf9e28b3f5c90c9 (diff) |
if forced_tun_device is not set, it is -1 and not SSH_TUNID_ANY
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c index d0130b088a8..42956bceb27 100644 --- a/usr.bin/ssh/serverloop.c +++ b/usr.bin/ssh/serverloop.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: serverloop.c,v 1.123 2005/12/08 18:34:11 reyk Exp $"); +RCSID("$OpenBSD: serverloop.c,v 1.124 2005/12/13 15:03:02 reyk Exp $"); #include "xmalloc.h" #include "packet.h" @@ -934,7 +934,7 @@ server_request_tun(void) } tun = packet_get_int(); - if (forced_tun_device != SSH_TUNID_ANY) { + if (forced_tun_device != -1) { if (tun != SSH_TUNID_ANY && forced_tun_device != tun) goto done; tun = forced_tun_device; |