From 46f4f82ac90d8a87d43b6da23ebffc849d77911b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 27 Mar 2020 03:46:54 -0400 Subject: [PATCH] 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. --- src/lib/net/address.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a. 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) {