aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/address.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2020-03-27 03:46:54 -0400
committerRoger Dingledine <arma@torproject.org>2020-03-27 03:46:54 -0400
commit46f4f82ac90d8a87d43b6da23ebffc849d77911b (patch)
treefced953b76c874ba2bc86b1ea076164646b3a44f /src/lib/net/address.h
parentf8ecf01cc1bbe8a483623a05161276c5ae8bbd54 (diff)
downloadtor-46f4f82ac90d8a87d43b6da23ebffc849d77911b.tar.gz
tor-46f4f82ac90d8a87d43b6da23ebffc849d77911b.zip
correct tor_addr_family() function comment
kind of a losing game to remember to update that comment when we add another possible family, but hey, maybe it will be a while until we add one more.
Diffstat (limited to 'src/lib/net/address.h')
-rw-r--r--src/lib/net/address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/net/address.h b/src/lib/net/address.h
index 815fb02283..4984494939 100644
--- a/src/lib/net/address.h
+++ b/src/lib/net/address.h
@@ -177,7 +177,7 @@ tor_addr_to_mapped_ipv4h(const tor_addr_t *a)
}
/** Return the address family of <b>a</b>. Possible values are:
- * AF_INET6, AF_INET, AF_UNSPEC. */
+ * AF_INET6, AF_INET, AF_UNSPEC, AF_UNIX. */
static inline sa_family_t
tor_addr_family(const tor_addr_t *a)
{