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