mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 12:14:26 +01:00
Remove parent parameter from write_serialization
This is no longer needed as each PDU knows its parent PDU already
This commit is contained in:
@@ -106,7 +106,7 @@ void EAPOL::type(uint8_t new_type) {
|
||||
header_.type = new_type;
|
||||
}
|
||||
|
||||
void EAPOL::write_serialization(uint8_t* buffer, uint32_t total_sz, const PDU *) {
|
||||
void EAPOL::write_serialization(uint8_t* buffer, uint32_t total_sz) {
|
||||
OutputMemoryStream stream(buffer, total_sz);
|
||||
length(total_sz - 4);
|
||||
stream.write(header_);
|
||||
|
||||
Reference in New Issue
Block a user