summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-29 17:52:23 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-29 17:52:23 -0500
commit83f66db79ec6469beea0fb410be6536acb90ffd0 (patch)
tree8fedd246085e64d91e9a08a9bddb624159aeeffe /src/or/or.h
parent9e25422eed03ad5fe8f54653fbc74668561f43a1 (diff)
parent9e8f3ee8e4d5ad5ce98aeb37b2b8c724a1936355 (diff)
downloadtor-83f66db79ec6469beea0fb410be6536acb90ffd0.tar.gz
tor-83f66db79ec6469beea0fb410be6536acb90ffd0.zip
Merge branch 'disable_network'
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 25e4e0f98c..5639226fc3 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3455,6 +3455,10 @@ typedef struct {
* issue. */
int UserspaceIOCPBuffers;
+ /** If 1, we accept and launch no external network connections, except on
+ * control ports. */
+ int DisableNetwork;
+
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */