Update shadowsocks-libev

This commit is contained in:
Max Lv
2017-01-21 16:35:45 +08:00
parent 2181e664ef
commit 4c45c923be
2 changed files with 2 additions and 2 deletions
@@ -46,7 +46,7 @@ object TcpFastOpen {
def sendEnabled: Boolean = {
val file = new File("/proc/sys/net/ipv4/tcp_fastopen")
file.canRead && (Source.fromFile(file).mkString.toInt & 1) > 0
file.canRead && (Source.fromFile(file).mkString.trim.toInt & 1) > 0
}
def enabled(value: Boolean): String = if (sendEnabled != value) {