Merge pull request #1927 from zerotier/tetanus-comment-typo

fixed typo
This commit is contained in:
Monica Moniot 2023-03-23 13:23:36 -04:00 committed by GitHub
commit 85740372b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);