allow changing the dns server port

This commit is contained in:
Martin Michelsen
2022-03-02 18:54:08 -08:00
parent 64d6b69a8b
commit 4b468b0a3d
6 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ struct ServerState {
std::u16string name;
std::unordered_map<std::string, PortConfiguration> port_configuration;
std::string username;
bool run_dns_server;
uint16_t dns_server_port;
bool allow_unregistered_users;
RunShellBehavior run_shell_behavior;
PSOBBEncryption::KeyFile default_key_file;