aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-16 12:11:46 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-16 12:11:46 -0400
commitfcfa22d80a6ad97b3192bd25050b3988112c53c8 (patch)
tree3117e83ff4901f0a6e9049a57a36fd2e12f815f3 /src/or/relay.c
parent4a5c1584fe9898756a4e380d08d5fc53c27d045b (diff)
parent3c4353179f2304767f5084734a7d1550f51f4542 (diff)
downloadtor-fcfa22d80a6ad97b3192bd25050b3988112c53c8.tar.gz
tor-fcfa22d80a6ad97b3192bd25050b3988112c53c8.zip
Merge branch 'maint-0.3.3'
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index add5a04190..15aa5557b4 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1308,6 +1308,7 @@ connection_edge_process_relay_cell_not_open(
"Got a badly formatted connected cell. Closing.");
connection_edge_end(conn, END_STREAM_REASON_TORPROTOCOL);
connection_mark_unattached_ap(entry_conn, END_STREAM_REASON_TORPROTOCOL);
+ return 0;
}
if (tor_addr_family(&addr) != AF_UNSPEC) {
const sa_family_t family = tor_addr_family(&addr);