This commit is contained in:
lbl
2026-02-24 16:08:44 +08:00
parent 4708ed2b16
commit ecdb359bbd
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ impl<B: AsRef<[u8]> + AsMut<[u8]>> NetPacket<B> {
self.header_mut().set_msg_type(msg_type.into());
}
pub fn decr_ttl(&mut self){
pub fn decr_ttl(&mut self) {
self.header_mut().decr_ttl()
}