X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Ffnet-adc.c;h=7f5722b35b30928e5d99ea486ea1ce6b9a45826d;hb=c5d236324fe6500844a86263e754339a2b3190f0;hp=ecbffe35d69409afa3edbfde437d9168f3afb172;hpb=24a794c2e44028e8ec37b1be811b64acafaa7174;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} };