From 5bf62d823691c798343a91c026760788393f5119 Mon Sep 17 00:00:00 2001 From: mamoniot Date: Thu, 23 Mar 2023 13:20:45 -0400 Subject: [PATCH] fixed typo --- zssp/src/zssp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zssp/src/zssp.rs b/zssp/src/zssp.rs index fcdad8b50..d79fbd671 100644 --- a/zssp/src/zssp.rs +++ b/zssp/src/zssp.rs @@ -548,7 +548,7 @@ impl Context { 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);