option (STATIC_SEARCH_ENGINES "include search engines in binary" ON)
option (BUILD_CONTROL_SOCKET "Enable the control socket (Linux only)" OFF)
option (BUILD_SIDE_CHANNEL "Enable the side channel (Linux only)" OFF)
-option (ENABLE_STATIC_DAQ "Link static DAQ modules" OFF)
+option (ENABLE_STATIC_DAQ "Link static DAQ modules" ON)
option (ENABLE_VALGRIND "Only use if you are testing with valgrind" OFF)
option (ENABLE_PPM "Disable packet/rule performance monitor" ON)
option (ENABLE_PPM_TEST "Enable packet/rule performance monitor for readback" OFF)
ntohs(p->eh->ether_type), p->pkth->pktlen)
);
+ next_prot_id = ntohs(p->eh->ether_type);
- if (len > MIN_ETHERTYPE )
+ if (next_prot_id > MIN_ETHERTYPE )
{
- next_prot_id = ntohs(p->eh->ether_type);
hdr_len = eth::hdr_len();
return true;
}
DEBUG_WRAP(DebugMessage(DEBUG_DECODE, "UDP header starts at: %p\n", p->udph););
p_hdr_len = udp::header_len();
- next_prot_id = -1;
// PushLayer(PROTO_UDP, p, raw_pkt, udp::header_len());