diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index b15e135d11..12f9d6b4c0 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1096,7 +1096,12 @@ addressmap_match_superdomains(char *address)
* expiry time of the result, or to time_max if the result does
* not expire.
*
- * DOCDOC exit_source_out;
+ * If exit_source_out is non-null, we set it as follows. If we the
+ * address starts out as a non-exit address, and we remap it to an .exit
+ * address at any point, then set *exit_source_out to the
+ * address_entry_source_t of the first such rule. Set *exit_source_out
+ * to ADDRMAPSRC_NONE if there is no such rewrite.
+ *
*/
int
addressmap_rewrite(char *address, size_t maxlen, time_t *expires_out,