mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 20:44: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:
@@ -108,7 +108,7 @@ uint32_t PPPoE::header_size() const {
|
||||
return sizeof(header_) + tags_size_;
|
||||
}
|
||||
|
||||
void PPPoE::write_serialization(uint8_t* buffer, uint32_t total_sz, const PDU *) {
|
||||
void PPPoE::write_serialization(uint8_t* buffer, uint32_t total_sz) {
|
||||
OutputMemoryStream stream(buffer, total_sz);
|
||||
if (tags_size_ > 0) {
|
||||
payload_length(tags_size_);
|
||||
|
||||
Reference in New Issue
Block a user