diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-05-06 16:50:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-05-06 16:50:21 -0400 |
commit | 42246f8c9aee97d3efb0b437369554a3fa6f6890 (patch) | |
tree | 9a5b3fefc2c30a3e707c205daf14f41f098ac1d8 /src/feature/hs | |
parent | 82effefb69defc757ed2f576d40badbd8460f757 (diff) | |
parent | 2cd1c0765834087797455301dbc2c941b71036a3 (diff) | |
download | tor-42246f8c9aee97d3efb0b437369554a3fa6f6890.tar.gz tor-42246f8c9aee97d3efb0b437369554a3fa6f6890.zip |
Merge branch 'maint-0.4.3'
Diffstat (limited to 'src/feature/hs')
-rw-r--r-- | src/feature/hs/hs_dos.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/hs/hs_dos.c b/src/feature/hs/hs_dos.c index b64ab0a1c3..1f7415a280 100644 --- a/src/feature/hs/hs_dos.c +++ b/src/feature/hs/hs_dos.c @@ -196,7 +196,9 @@ hs_dos_can_send_intro2(or_circuit_t *s_intro_circ) goto allow; } - /* Fallthrough is to disallow since this means the bucket has reached 0. */ + /* If we reach this point, then it means the bucket has reached zero, and + we're going to disallow. */ + disallow: /* Increment stats counter, we are rejecting the INTRO2 cell. */ intro2_rejected_count++; |