]> git.stg.codes - stg.git/blobdiff - projects/sgconf/xml.cpp
Fixed services test.
[stg.git] / projects / sgconf / xml.cpp
index c54fcd02bbd17fb10878da556a956131462a18b2..abf2ccc62e96f8643a9ff808d5a344c7d3964bd7 100644 (file)
@@ -89,6 +89,8 @@ bool RawXMLFunction(const SGCONF::CONFIG & config,
 {
 STG::SERVCONF proto(config.server.data(),
                     config.port.data(),
 {
 STG::SERVCONF proto(config.server.data(),
                     config.port.data(),
+                    config.localAddress.data(),
+                    config.localPort.data(),
                     config.userName.data(),
                     config.userPass.data());
 return proto.RawXML(arg, RawXMLCallback, NULL) == STG::st_ok;
                     config.userName.data(),
                     config.userPass.data());
 return proto.RawXML(arg, RawXMLCallback, NULL) == STG::st_ok;