mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 13:36:54 +02:00
fixed typo
This commit is contained in:
parent
7cc8db2187
commit
5bf62d8236
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ impl<Application: ApplicationLayer> Context<Application> {
|
|||
let incoming_packet = if fragment_count > 1 {
|
||||
// incoming_counter is expected to be a random u64 generated by the remote peer.
|
||||
// Using just incoming_counter to defragment would be good DOS resistance,
|
||||
// but why not make it harder by hasing it with a random salt and the physical path in as well.
|
||||
// but why not make it harder by hasing it with a random salt and the physical path as well.
|
||||
let mut hasher = self.defrag_salt.build_hasher();
|
||||
source.hash(&mut hasher);
|
||||
hasher.write_u64(incoming_counter);
|
||||
|
|
Loading…
Add table
Reference in a new issue