Add IP stack port remapping

This commit is contained in:
2026-05-15 15:06:32 -04:00
parent b2b8fd2cec
commit 6de7db4765
3 changed files with 36 additions and 3 deletions
+1
View File
@@ -112,6 +112,7 @@ struct ServerState : public std::enable_shared_from_this<ServerState> {
std::string name;
std::unordered_map<std::string, std::shared_ptr<PortConfiguration>> name_to_port_config;
std::unordered_map<uint16_t, std::shared_ptr<PortConfiguration>> number_to_port_config;
std::unordered_map<uint16_t, uint16_t> ip_stack_port_remap;
std::string username;
std::string dns_server_addr;
uint16_t dns_server_port = 0;