mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:04:13 +02:00
fixed local domain
This commit is contained in:
parent
48a597a9b9
commit
286c6e0e39
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ int main(int argc, const char * argv[])
|
|||
// Handle Local Domain testing with the --local command line
|
||||
const char* local = "--local";
|
||||
bool wantLocalDomain = cmdOptionExists(argc, argv,local);
|
||||
if (true || wantLocalDomain) {
|
||||
if (wantLocalDomain) {
|
||||
printf("Local Domain MODE!\n");
|
||||
int ip = getLocalAddress();
|
||||
sprintf(DOMAIN_IP,"%d.%d.%d.%d", (ip & 0xFF), ((ip >> 8) & 0xFF),((ip >> 16) & 0xFF), ((ip >> 24) & 0xFF));
|
||||
|
|
Loading…
Reference in a new issue