Changeset 9485 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 26, 2006, 10:51:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9483 r9485 965 965 } 966 966 967 // if the node we got this unknown sync from is a client we ignore it (since it has no rights to create a new sync) 968 if ( peers[peer->second.userId].isClient() || peers[peer->second.userId].isProxyServerActive()) 967 // if the node we got this unknown sync we ignore it if: 968 // - the remote host is a client 969 // - the remote host is a proxy server and we are master server 970 // (since it has no rights to create a new sync) 971 if ( peers[peer->second.userId].isClient() || 972 (peers[peer->second.userId].isProxyServerActive() && SharedNetworkData::getInstance()->isMasterServer())) 969 973 { 970 974 offset += syncDataLength;
Note: See TracChangeset
for help on using the changeset viewer.