summaryrefslogtreecommitdiff
path: root/cli-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli-main.c b/cli-main.c
index 5cfd017..3db8f2f 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -75,6 +75,9 @@ int main(int argc, char ** argv) {
int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport,
0, &error);
sock_in = sock_out = sock;
+ if (cli_opts.wantpty) {
+ set_sock_priority(sock, DROPBEAR_PRIO_LOWDELAY);
+ }
}
if (sock_in < 0) {