aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 67d26e13e0..3b97d28d0f 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1218,6 +1218,8 @@ consider_publishable_server(int force)
/** Return the port of the first active listener of type
* <b>listener_type</b>. */
+/** XXX not a very good interface. it's not reliable when there are
+ multiple listeners. */
uint16_t
router_get_active_listener_port_by_type(int listener_type)
{