- {"net.mode", NULL, "0", &numeric},
- {"ui.onlylocal", NULL, "0", &numeric},
- {"auth.authless", NULL, "0", &numeric},
- {"transfer.slots", _("Upload slots"), "6", &numeric},
+ {"net.mode", NULL, "0", &natural},
+ {"net.visibleipv4", "IP address", "0.0.0.0", &ipv4},
+ {"ui.onlylocal", NULL, "0", &natural},
+ {"ui.port", NULL, "-1", &integer},
+ {"auth.authless", NULL, "0", &natural},
+ {"transfer.slots", _("Upload slots"), "6", &natural},