aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/channel.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-08-25 20:37:04 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-08-25 20:37:04 +0300
commitd4f3cfe99a4c3ef3495a8f8848981f9b30cc8a34 (patch)
treef38c8af8720c9be4790466ed030e1ba8bb8867bb /src/core/or/channel.c
parentcc4e42ee3257d5157172cedb73ed86ba88ca271d (diff)
parent75772ea096e030ecc79f67b1444cac42aaed7449 (diff)
downloadtor-d4f3cfe99a4c3ef3495a8f8848981f9b30cc8a34.tar.gz
tor-d4f3cfe99a4c3ef3495a8f8848981f9b30cc8a34.zip
Merge branch 'mr/113'
Diffstat (limited to 'src/core/or/channel.c')
-rw-r--r--src/core/or/channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/or/channel.c b/src/core/or/channel.c
index 91f083ec00..d082174dc8 100644
--- a/src/core/or/channel.c
+++ b/src/core/or/channel.c
@@ -871,6 +871,8 @@ channel_init(channel_t *chan)
/* Channel is not in the scheduler heap. */
chan->sched_heap_idx = -1;
+
+ tor_addr_make_unspec(&chan->addr_according_to_peer);
}
/**