Determining final L3 layer protocol right inside PktSrc.

This commit is contained in:
Robin Sommer 2015-07-17 14:22:50 -07:00
parent 86440e44fc
commit 64a478dbd5
6 changed files with 41 additions and 55 deletions

View file

@ -1175,7 +1175,7 @@ Packet* Packet::Unserialize(UnserialInfo* info)
}
Packet *p = new Packet(link_type, &ts, caplen, len, pkt, true,
std::string(tag), hdr_size, l3_proto);
std::string(tag), hdr_size, (Layer3Proto) l3_proto);
delete [] tag;
// For the global timer manager, we take the global network_time as the