initIntegerBox(OPTION("","share",[]{return"100";}),uiSettings->shareLineEdit,tr("Share"));//Max % of bandwidth limit for transit. 0-100. 100 by default
initIntegerBox(OPTION("","share",[]{return"100";}),uiSettings->shareLineEdit,tr("Share"));//Max % of bandwidth limit for transit. 0-100. 100 by default
initIPAddressBox(OPTION("ntcp2","addressv6",[]{return"::";}),uiSettings->ntcp2AddressV6LineEdit,tr("NTCP2 -> IPv6 address"));//External IPv6 for incoming connections
initIPAddressBox(OPTION("ntcp2","addressv6",[]{return"::";}),uiSettings->ntcp2AddressV6LineEdit,tr("NTCP2 -> IPv6 address"));//External IPv6 for incoming connections
initStringBox(OPTION("ntcp2","proxy",[]{return"";}),uiSettings->lineEditNtcp2Proxy);//Specify proxy server for NTCP2. Should be http://address:port or socks://address:port
initStringBox(OPTION("ntcp2","proxy",[]{return"";}),uiSettings->lineEditNtcp2Proxy);//Specify proxy server for NTCP2. Should be http://address:port or socks://address:port
initTCPPortBox(OPTION("ssu2","port",[]{return"0";}),uiSettings->ssu2portLineEdit,tr("Port to listen for incoming SSU2 packets (set 0 to auto-assign the port)"));
initTCPPortBox(OPTION("ssu2","port",[]{return"0";}),uiSettings->ssu2portLineEdit,tr("Port to listen for incoming SSU2 packets (set 0 to auto-assign the port)"));
initCheckBox(OPTION("nettime","enabled",[]{return"false";}),uiSettings->checkBoxNettimeEnable);//Enable NTP sync. Disabled by default
initCheckBox(OPTION("nettime","enabled",[]{return"false";}),uiSettings->checkBoxNettimeEnable);//Enable NTP sync. Disabled by default