Mercurial > dropbear
diff svr-main.c @ 1084:2265d7ebfdeb
separate client/server fastopen options
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 29 May 2015 23:19:11 +0800 |
parents | a00303a7d247 |
children | 64a50eac1030 |
line wrap: on
line diff
--- a/svr-main.c Sun May 03 00:00:35 2015 +0800 +++ b/svr-main.c Fri May 29 23:19:11 2015 +0800 @@ -429,7 +429,7 @@ for (n = 0; n < (unsigned int)nsock; n++) { int sock = socks[sockpos + n]; set_sock_priority(sock, DROPBEAR_PRIO_LOWDELAY); -#ifdef DROPBEAR_TCP_FAST_OPEN +#ifdef DROPBEAR_SERVER_TCP_FAST_OPEN set_listen_fast_open(sock); #endif }