#include "divert_cap.h"
-#include "stg/common.h"
#include "stg/traffcounter.h"
+#include "stg/raw_ip_packet.h"
+#include "stg/common.h"
#include <algorithm>
#include <vector>
if (buffer[12] != 0x8)
continue;
- memcpy(rp.rawPacket.pckt, &buffer[14], pcktSize);
+ memcpy(rp.rawPacket, &buffer[14], packetSize);
dc->traffCnt->process(rp);
}