summaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-05-06 16:47:03 -0400
committerNick Mathewson <nickm@torproject.org>2020-05-06 16:47:03 -0400
commitd04b708b4bd47ee8df6796f19b25f558b2b18e91 (patch)
tree3eb744174d8e923fed56b4714244b94ed70c94b9 /src/lib/net
parentbbfc498e21c9854b16b0543bf3f3f4ac304711f7 (diff)
parent28f453c4764962394bf0cd3a314b2b60af7ee1b4 (diff)
downloadtor-d04b708b4bd47ee8df6796f19b25f558b2b18e91.tar.gz
tor-d04b708b4bd47ee8df6796f19b25f558b2b18e91.zip
Merge branch 'maint-0.4.1' into maint-0.4.2
Diffstat (limited to 'src/lib/net')
-rw-r--r--src/lib/net/address.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index 0a2c84caf2..41017935e1 100644
--- a/src/lib/net/address.c
+++ b/src/lib/net/address.c
@@ -929,6 +929,7 @@ tor_addr_copy_tight(tor_addr_t *dest, const tor_addr_t *src)
break;
case AF_INET6:
memcpy(dest->addr.in6_addr.s6_addr, src->addr.in6_addr.s6_addr, 16);
+ break;
case AF_UNSPEC:
break;
// LCOV_EXCL_START