diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index eff27d9d6..a575ce0d1 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.123 2005/12/08 18:34:11 reyk Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.124 2005/12/13 15:03:02 reyk Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -936,7 +936,7 @@ server_request_tun(void) | |||
936 | } | 936 | } |
937 | 937 | ||
938 | tun = packet_get_int(); | 938 | tun = packet_get_int(); |
939 | if (forced_tun_device != SSH_TUNID_ANY) { | 939 | if (forced_tun_device != -1) { |
940 | if (tun != SSH_TUNID_ANY && forced_tun_device != tun) | 940 | if (tun != SSH_TUNID_ANY && forced_tun_device != tun) |
941 | goto done; | 941 | goto done; |
942 | tun = forced_tun_device; | 942 | tun = forced_tun_device; |