aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-17 22:35:58 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-30 07:03:24 +0000
commit1cde3e2776dc879ce7ca876e0616d8d10d6f1702 (patch)
tree80b20690966f21381a68817fd7d8735bdb7974ea /src/or/or.h
parentf42dbc4e263d3c5f9021d062c5ea0d3cfa29d47b (diff)
downloadtor-1cde3e2776dc879ce7ca876e0616d8d10d6f1702.tar.gz
tor-1cde3e2776dc879ce7ca876e0616d8d10d6f1702.zip
Add multiple descriptor dump support for dump_desc() in routerparse.c; fixes bug 18322
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ea38022f43..364699fdf0 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4498,6 +4498,11 @@ typedef struct {
/** Autobool: Do we try to retain capabilities if we can? */
int KeepBindCapabilities;
+
+ /** If > 0, maximum total size of unparseable descriptors to log
+ * during the lifetime of this Tor process.
+ */
+ uint64_t DetailedLogForUnparseableDescriptors;
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */