diff --git a/Packet++/header/NflogLayer.h b/Packet++/header/NflogLayer.h index 4df4d5d25a..1faec4de22 100644 --- a/Packet++/header/NflogLayer.h +++ b/Packet++/header/NflogLayer.h @@ -112,12 +112,7 @@ namespace pcpp if(recordRawData == nullptr) m_Data = nullptr; else - { - // to pass from some unknown paddings after tlv with type NFULA_PREFIX - while (*recordRawData == 0) - recordRawData += 1; m_Data = (NflogTLVRawData*)recordRawData; - } } /**