mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Removed Utils::ip_to_int/string. Everything is using IPv4Address now.
This commit is contained in:
@@ -70,6 +70,12 @@ void PDU::inner_pdu(PDU *next_pdu) {
|
||||
_inner_pdu = next_pdu;
|
||||
}
|
||||
|
||||
PDU *PDU::release_inner_pdu() {
|
||||
PDU *result = 0;
|
||||
std::swap(result, _inner_pdu);
|
||||
return result;
|
||||
}
|
||||
|
||||
PDU::serialization_type PDU::serialize() {
|
||||
std::vector<uint8_t> buffer(size());
|
||||
serialize(&buffer[0], buffer.size(), 0);
|
||||
|
||||
Reference in New Issue
Block a user