From 6a4fdaf157899167c3bd7bae96cfa23b85af29e0 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 1 Aug 2023 10:27:24 +0000 Subject: [PATCH] Fixes poc_assign from #1129 --- Packet++/header/NflogLayer.h | 5 ----- 1 file changed, 5 deletions(-) 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; - } } /**