X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Ffnet-adc.c;h=7f5722b35b30928e5d99ea486ea1ce6b9a45826d;hb=d9f89ef5daa6375fc4ff257826fa39562fbe3ac3;hp=ecbffe35d69409afa3edbfde437d9168f3afb172;hpb=038be21c8d00e1d2de2a84e1663714a38ef6d60b;p=doldaconnect.git diff --git a/daemon/fnet-adc.c b/daemon/fnet-adc.c index ecbffe3..7f5722b 100644 --- a/daemon/fnet-adc.c +++ b/daemon/fnet-adc.c @@ -469,7 +469,15 @@ static void terminate(void) } static struct configvar myvars[] = { + /** Specifies a specific UDP port to use for ADC search + * results. If left unspecified, a port is allocated + * dynamically. Useful for NAT routers (see also the + * net.visibleipv4 address for those cases). */ {CONF_VAR_INT, "udpport", {.num = 0}}, + /** Specifies a specific TCP port to use for ADC peer + * connections. If left unspecified, a port is allocated + * dynamically. Useful for NAT routers (see also the + * net.visibleipv4 address for those cases). */ {CONF_VAR_INT, "tcpport", {.num = 0}}, {CONF_VAR_END} };