mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 10:54:01 +02:00
- headless server will only give network status info to the locahost now and not on any other ip (for security purposes)
This commit is contained in:
@@ -234,6 +234,7 @@ protected:
|
||||
|
||||
bool portBound;
|
||||
int boundPort;
|
||||
string bindSpecificAddress;
|
||||
|
||||
static int externalPort;
|
||||
static int ftpServerPort;
|
||||
@@ -269,6 +270,8 @@ public:
|
||||
int getBindPort() const { return boundPort; }
|
||||
bool isPortBound() const { return portBound; }
|
||||
|
||||
void setBindSpecificAddress(string value) { bindSpecificAddress = value;}
|
||||
|
||||
static void setExternalPort(int port) { externalPort = port; }
|
||||
static int getExternalPort() { return externalPort; }
|
||||
|
||||
|
Reference in New Issue
Block a user