mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-15 00:41:17 +00:00
Improved passive MDNS discovery
Fixed MDNS decode loop
This commit is contained in:
parent
d4bbeb10a2
commit
d1dcff81c4
12 changed files with 212 additions and 81 deletions
|
|
@ -1963,8 +1963,12 @@ bool NetworkInterface::dissectPacket(u_int32_t bridge_iface_idx,
|
|||
bool pass_verdict = true;
|
||||
u_int32_t rawsize = h->len * scalingFactor;
|
||||
|
||||
// ntop->getTrace()->traceEvent(TRACE_NORMAL, "%s", ingressPacket ? "RX" : "TX");
|
||||
|
||||
#if 0
|
||||
static u_int n = 0;
|
||||
|
||||
ntop->getTrace()->traceEvent(TRACE_NORMAL, "%u %s", ++n, ingressPacket ? "RX" : "TX");
|
||||
#endif
|
||||
|
||||
/* Netfilter interfaces don't report MAC addresses on packets */
|
||||
if(getIfType() == interface_type_NETFILTER)
|
||||
rawsize += sizeof(struct ndpi_ethhdr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue