mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-16 19:43:47 +00:00
Fixed version check
This commit is contained in:
parent
368381135f
commit
80e248fc35
4 changed files with 10 additions and 7 deletions
|
|
@ -156,7 +156,8 @@ static void* packetPollLoop(void* ptr) {
|
|||
if((rc = pcap_next_ex(pd, &hdr, &pkt)) > 0) {
|
||||
if((rc > 0) && (pkt != NULL) && (hdr->caplen > 0)) {
|
||||
int a, b;
|
||||
|
||||
|
||||
hdr->caplen = min_val(hdr->caplen, iface->getMTU());
|
||||
iface->packet_dissector(hdr, pkt, &a, &b);
|
||||
}
|
||||
} else if(rc < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue