This commit is contained in:
Ondrej Babec
2022-03-09 09:14:37 +01:00
parent ff287dc451
commit edb07d94d3
50 changed files with 2144 additions and 99 deletions

View File

@@ -70,6 +70,10 @@ impl<'a> Packet<'a> for PingreqPacket {
log::error!("PINGREQ packet does not contain any properties!");
}
fn property_allowed(&mut self, property: &Property<'a>) -> bool {
property.pingreq_property()
}
fn set_fixed_header(&mut self, header: u8) {
self.fixed_header = header;
}