summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--serverloop.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a8074f04a..8100e9745 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120051220
2 - (dtucker) OpenBSD CVS Sync
3 - reyk@cvs.openbsd.org 2005/12/13 15:03:02
4 [serverloop.c]
5 if forced_tun_device is not set, it is -1 and not SSH_TUNID_ANY
6
120051219 720051219
2 - (dtucker) [cipher-aes.c cipher-ctr.c cipher.c configure.ac 8 - (dtucker) [cipher-aes.c cipher-ctr.c cipher.c configure.ac
3 openbsd-compat/openssl-compat.h] Check for and work around broken AES 9 openbsd-compat/openssl-compat.h] Check for and work around broken AES
@@ -3471,4 +3477,4 @@
3471 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3477 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3472 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3478 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3473 3479
3474$Id: ChangeLog,v 1.4031 2005/12/19 06:40:40 dtucker Exp $ 3480$Id: ChangeLog,v 1.4032 2005/12/20 05:08:42 dtucker Exp $
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"
38RCSID("$OpenBSD: serverloop.c,v 1.123 2005/12/08 18:34:11 reyk Exp $"); 38RCSID("$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;