summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-31 14:01:49 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-31 14:09:47 -0500
commit31f2a8771cf0075f4a0ef5625d3947a683305ff9 (patch)
tree5e0307f541de0041c3e982449e2c3aa95e64ebdb /src/or
parent1c39d969b99b7825a0e2f2db67efb0c0e19d7002 (diff)
downloadtor-31f2a8771cf0075f4a0ef5625d3947a683305ff9.tar.gz
tor-31f2a8771cf0075f4a0ef5625d3947a683305ff9.zip
Look at the correct protocol for supports_v3_rendezvous_point
Fixes bug 25105; bugfix on 0.3.2.1-alpha. (This is a backport of bbf2d9cf6bb97c3e15ada58 for 0.3.2.)
Diffstat (limited to 'src/or')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 15cdb0bbde..3eda024f0f 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2709,7 +2709,7 @@ routerstatus_parse_entry_from_string(memarea_t *area,
protocol_list_supports_protocol(tok->args[0], PRT_HSDIR,
PROTOVER_HSDIR_V3);
rs->supports_v3_rendezvous_point =
- protocol_list_supports_protocol(tok->args[0], PRT_HSDIR,
+ protocol_list_supports_protocol(tok->args[0], PRT_HSREND,
PROTOVER_HS_RENDEZVOUS_POINT_V3);
}
if ((tok = find_opt_by_keyword(tokens, K_V))) {