]> git.stg.codes - stg.git/blobdiff - projects/sgauth/main.cpp
Allowed to bind for a particular address/hostname for sgauth.
[stg.git] / projects / sgauth / main.cpp
index 2af78b71f7667e7960d6db0ec4076e24574becd6..d0ab3c35b135b455f0fabf4b6598c0c8ed3bfa7d 100644 (file)
@@ -200,7 +200,7 @@ if (settings.GetDaemon())
         }
     }
 
-clnp = new IA_CLIENT_PROT(settings.GetServerName(), settings.GetServerPort(), settings.GetLocalPort());
+clnp = new IA_CLIENT_PROT(settings.GetServerName(), settings.GetServerPort(), settings.GetLocalName(), settings.GetLocalPort());
 
 if (!settings.GetNoWeb())
     {