aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-14 15:20:28 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:57 -0500
commit85e8d35fca49c0a660e104a85bb727f808b8ffb0 (patch)
tree0abaae08fdcfca072ea00ad3408795d8137403cd /src/common/address.c
parent882b389668067a29bb539d0f5bd5cb2f83b93012 (diff)
downloadtor-85e8d35fca49c0a660e104a85bb727f808b8ffb0.tar
tor-85e8d35fca49c0a660e104a85bb727f808b8ffb0.tar.gz
Add some missing doxygen for ipv6 exit code
Diffstat (limited to 'src/common/address.c')
-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)
{