]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make NoKeepAliveIsolateSOCKSAuth work as expected
authorNick Mathewson <nickm@torproject.org>
Tue, 8 Sep 2015 18:03:54 +0000 (14:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 8 Sep 2015 18:03:54 +0000 (14:03 -0400)
src/or/config.c

index db78d529711fe5c84d5fa2023ab5fe655a02798a..190e4d4daad31f708d54688f09d7482a9ff8981f 100644 (file)
@@ -6263,7 +6263,7 @@ parse_port_config(smartlist_t *out,
         } else if (!strcasecmp(elt, "IsolateClientAddr")) {
           isoflag = ISO_CLIENTADDR;
         } else if (!strcasecmp(elt, "KeepAliveIsolateSOCKSAuth")) {
-          socks_iso_keep_alive = 1;
+          socks_iso_keep_alive = ! no;
         } else {
           log_warn(LD_CONFIG, "Unrecognized %sPort option '%s'",
                    portname, escaped(elt_orig));