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.
This commit is contained in:
Roger Dingledine 2020-03-27 03:46:54 -04:00
parent f8ecf01cc1
commit 46f4f82ac9

View File

@ -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)
{