aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/address.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c
index 7a2ce6eef..e94f147ce 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -181,7 +181,9 @@ tor_addr_make_unspec(tor_addr_t *a)
a->family = AF_UNSPEC;
}
-/** DOCDOC */
+/** Set address <a>a</b> to the null address in address family <b>family</b>.
+ * The null address for AF_INET is 0.0.0.0. The null address for AF_INET6 is
+ * [::]. AF_UNSPEC is all null. */
void
tor_addr_make_null(tor_addr_t *a, sa_family_t family)
{