proxy server: allow to configure address to bind

This commit is contained in:
Adrien Béraud committed 2022-07-05 19:32:29 -04:00
1 parent 48e718ffd8
commit 577f2a0645
4 files changed
+11

No files matched your search

+1
View File
@@ -551,6 +551,7 @@ main(int argc, char **argv)
ProxyServerConfig serverConfig;
serverConfig.pushServer = params.pushserver;
serverConfig.bundleId = params.bundle_id;
serverConfig.address = params.proxy_address;
if (params.proxyserverssl and params.proxy_id.first and params.proxy_id.second){
serverConfig.identity = params.proxy_id;
serverConfig.port = params.proxyserverssl;