Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9426 in orxonox.OLD for branches/proxy/src/lib/network/monitor


Ignore:
Timestamp:
Jul 24, 2006, 2:49:33 PM (18 years ago)
Author:
bensch
Message:

cleaner ip inclusion

File:
1 edited

Legend:

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

    r9410 r9426  
    5757  {
    5858    // assuming that the config files are already read we get the proxy servers
    59     std::vector<IPaddress*>* proxyList = NetworkSettings::getInstance()->getProxyList();
    60     std::vector<IPaddress*>::iterator it = proxyList->begin();
     59    std::vector<IP>* proxyList = NetworkSettings::getInstance()->getProxyList();
     60    std::vector<IP>::iterator it = proxyList->begin();
    6161    // create a peer info class and a network node class for each new proxy and add them to the passive list
    6262    for(; it < proxyList->end(); it++)
    6363    {
    6464      PeerInfo* peer = new PeerInfo();
    65       peer->ip = *(*it);
     65      peer->ip = (*it);
    6666      peer->nodeType = NET_PROXY_SERVER_ACTIVE;
    6767      peer->userId = -1;
Note: See TracChangeset for help on using the changeset viewer.