From 9956b20790d88db6639096ef823b5950643b176c Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 16 Sep 2004 23:36:13 +0000 Subject: removed different CFG_ defined for connection host names added support for setting up multiple interfaces correct connect address for mgmt server bug, -l flag would be interpreted as connectstring added flag to remove all node id checks changed automatic allocation of ports somewhat ndb/include/mgmapi/mgmapi_config_parameters.h: removed different CFG_ defined for connection host names ndb/include/transporter/TransporterRegistry.hpp: added support for setting up multiple interfaces ndb/src/common/mgmcommon/ConfigRetriever.cpp: removed different CFG_ defined for connection host names ndb/src/common/mgmcommon/IPCConfig.cpp: added support for setting up multiple interfaces ndb/src/common/portlib/NdbTCP.cpp: added debug printouts ndb/src/common/transporter/TransporterRegistry.cpp: added support for setting up multiple interfaces ndb/src/common/util/SocketServer.cpp: added my_thread init to enable debug printouts ndb/src/mgmclient/CommandInterpreter.cpp: shortened lines ndb/src/mgmsrv/ConfigInfo.cpp: removed different CFG_ defined for connection host names changed automatic allocation of ports somewhat ndb/src/mgmsrv/MgmtSrvr.cpp: correct connect address for mgmt server ndb/src/mgmsrv/Services.cpp: shoretened lines ndb/src/mgmsrv/main.cpp: bug, -l flag would be interpreted as connectstring added flag to remove all node id checks --- ndb/include/transporter/TransporterRegistry.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'ndb/include/transporter') diff --git a/ndb/include/transporter/TransporterRegistry.hpp b/ndb/include/transporter/TransporterRegistry.hpp index 3c6c307406c..ac6291f9e57 100644 --- a/ndb/include/transporter/TransporterRegistry.hpp +++ b/ndb/include/transporter/TransporterRegistry.hpp @@ -218,15 +218,18 @@ public: void printState(); #endif - unsigned short m_service_port; - + class Transporter_interface { + public: + unsigned short m_service_port; + const char *m_interface; + }; + Vector m_transporter_interface; + void add_transporter_interface(const char *interface, unsigned short port); protected: private: void * callbackObj; - TransporterService *m_transporter_service; - char *m_interface_name; struct NdbThread *m_start_clients_thread; bool m_run_start_clients_thread; -- cgit v1.2.1