Changeset 9426 in orxonox.OLD for branches/proxy/src/lib/network/monitor
- Timestamp:
- Jul 24, 2006, 2:49:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_monitor.cc
r9410 r9426 57 57 { 58 58 // assuming that the config files are already read we get the proxy servers 59 std::vector<IP address*>* proxyList = NetworkSettings::getInstance()->getProxyList();60 std::vector<IP address*>::iterator it = proxyList->begin();59 std::vector<IP>* proxyList = NetworkSettings::getInstance()->getProxyList(); 60 std::vector<IP>::iterator it = proxyList->begin(); 61 61 // create a peer info class and a network node class for each new proxy and add them to the passive list 62 62 for(; it < proxyList->end(); it++) 63 63 { 64 64 PeerInfo* peer = new PeerInfo(); 65 peer->ip = *(*it);65 peer->ip = (*it); 66 66 peer->nodeType = NET_PROXY_SERVER_ACTIVE; 67 67 peer->userId = -1;
Note: See TracChangeset
for help on using the changeset viewer.