mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 04:34:27 +01:00
Set payload type to 0 if no inner_pdu on Dot1Q
This commit is contained in:
@@ -121,6 +121,9 @@ void Dot1Q::write_serialization(uint8_t* buffer, uint32_t total_sz, const PDU *)
|
||||
payload_type(static_cast<uint16_t>(flag));
|
||||
}
|
||||
}
|
||||
else {
|
||||
payload_type(0);
|
||||
}
|
||||
stream.write(header_);
|
||||
|
||||
// Skip inner PDU size
|
||||
|
||||
Reference in New Issue
Block a user