]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve comment on router_counts_toward_thresholds()
authorAndrea Shepard <andrea@torproject.org>
Mon, 18 Mar 2013 18:58:30 +0000 (11:58 -0700)
committerAndrea Shepard <andrea@torproject.org>
Mon, 18 Mar 2013 18:58:30 +0000 (11:58 -0700)
src/or/dirserv.c

index 47a4a73053ca19ee16160f07e6538da1950ef6b4..cf11e50132742c4fbbcd1a3eb79ca3b9967d840a 100644 (file)
@@ -1878,7 +1878,10 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router,
 #define ABSOLUTE_MIN_BW_VALUE_TO_CONSIDER 4096
 
 /** Helper for dirserv_compute_performance_thresholds(): Decide whether to
- * include a router in our calculations, and return true iff we should. */
+ * include a router in our calculations, and return true iff we should; the
+ * require_mbw parameter is passed in by
+ * dirserv_compute_performance_thresholds() and controls whether we ever
+ * count routers with only advertised bandwidths */
 static int
 router_counts_toward_thresholds(const node_t *node, time_t now,
                                 const digestmap_t *omit_as_sybil,