summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--serverloop.c1
-rw-r--r--session.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/serverloop.c b/serverloop.c
index feaf35c1a..9d789a213 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -551,6 +551,7 @@ server_request_tun(struct ssh *ssh)
551 if (sock < 0) 551 if (sock < 0)
552 goto done; 552 goto done;
553 debug("Tunnel forwarding using interface %s", ifname); 553 debug("Tunnel forwarding using interface %s", ifname);
554
554 c = channel_new(ssh, "tun", SSH_CHANNEL_OPEN, sock, sock, -1, 555 c = channel_new(ssh, "tun", SSH_CHANNEL_OPEN, sock, sock, -1,
555 CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, 0, "tun", 1); 556 CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, 0, "tun", 1);
556 c->datagram = 1; 557 c->datagram = 1;
diff --git a/session.c b/session.c
index a1ee41054..e93012679 100644
--- a/session.c
+++ b/session.c
@@ -335,7 +335,6 @@ int
335do_exec_no_pty(struct ssh *ssh, Session *s, const char *command) 335do_exec_no_pty(struct ssh *ssh, Session *s, const char *command)
336{ 336{
337 pid_t pid; 337 pid_t pid;
338
339#ifdef USE_PIPES 338#ifdef USE_PIPES
340 int pin[2], pout[2], perr[2]; 339 int pin[2], pout[2], perr[2];
341 340