From 1cde3e2776dc879ce7ca876e0616d8d10d6f1702 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Fri, 17 Jun 2016 22:35:58 +0000 Subject: Add multiple descriptor dump support for dump_desc() in routerparse.c; fixes bug 18322 --- src/or/or.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/or/or.h') 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. */ -- cgit v1.2.3-54-g00ecf