Fix for GitHub issue #260 -- fix for (non-exploitable) crash in network preferred relay code

This commit is contained in:
Adam Ierymenko 2015-11-30 17:20:12 -08:00
parent 944fdfb65e
commit ceaef19fb7
2 changed files with 6 additions and 5 deletions

View file

@ -263,7 +263,6 @@ public:
return (l * (((unsigned int)tsr / (ZT_PEER_DIRECT_PING_DELAY + 1000)) + 1));
}
/**
* Update latency with a new direct measurment
*