Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 17, 2006, 5:47:32 PM (18 years ago)
Author:
patrick
Message:

proxy server ip synchronizeing bug, nodes get registered

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_node.cc

    r9300 r9308  
    239239  for(; it != this->masterServerList.end(); it++)
    240240  {
    241     PRINT(0)("     - ms, id: %i\n", (*it)->userId);
    242   }
    243 
    244   PRINT(0)("    proxy servers: %i\n", this->activeProxyServerList.size());
     241    int ip = (*it)->ip.host;
     242    PRINT(0)("     - ms, id: %i (%d.%d.%d.%d:9999)\n", (*it)->userId, (ip & 0x000000FF), (ip & 0x0000FF00) >> 8, (ip & 0x00FF0000) >> 16, (ip & 0xFF000000)>>24);
     243  }
     244
     245  PRINT(0)("    proxy servers active: %i\n", this->activeProxyServerList.size());
    245246  it = this->activeProxyServerList.begin();
    246247  for(; it != this->activeProxyServerList.end(); it++)
    247248  {
    248     PRINT(0)("     - ps, id: %i\n", (*it)->userId);
     249    int ip = (*it)->ip.host;
     250    PRINT(0)("     - ps-a, id: %i (%d.%d.%d.%d:9999)\n", (*it)->userId, (ip & 0x000000FF), (ip & 0x0000FF00) >> 8, (ip & 0x00FF0000) >> 16, (ip & 0xFF000000)>>24);
     251  }
     252
     253  PRINT(0)("    proxy servers passive: %i\n", this->passiveProxyServerList.size());
     254  it = this->passiveProxyServerList.begin();
     255  for(; it != this->passiveProxyServerList.end(); it++)
     256  {
     257    int ip = (*it)->ip.host;
     258    PRINT(0)("     - ps-p, id: %i (%d.%d.%d.%d:9999)\n", (*it)->userId, (ip & 0x000000FF), (ip & 0x0000FF00) >> 8, (ip & 0x00FF0000) >> 16, (ip & 0xFF000000)>>24);
    249259  }
    250260
     
    253263  for(; it != this->clientList.end(); it++)
    254264  {
    255     PRINT(0)("     - client, id: %i\n", (*it)->userId);
    256   }
    257 }
    258 
     265    int ip = (*it)->ip.host;
     266    PRINT(0)("     - client, id: %i (%d.%d.%d.%d:9999)\n", (*it)->userId, (ip & 0x000000FF), (ip & 0x0000FF00) >> 8, (ip & 0x00FF0000) >> 16, (ip & 0xFF000000)>>24);
     267  }
     268}
     269
Note: See TracChangeset for help on using the changeset viewer.