Skip to content

Commit

Permalink
Skipping .local domain hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Sep 20, 2024
1 parent cdf5254 commit 50da04d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Flow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ Flow::~Flow() {
if((len > 0)
&& (!isdigit(domain[len-1]))
&& (domain[0] != '_')
&& (strchr(domain, '.') != NULL)) {
&& (strchr(domain, '.') != NULL)
&& (ndpi_strrstr(domain, ".local") == NULL)
) {
ntop->getTrace()->traceEvent(TRACE_NORMAL, "%s", domain);
ntop->getRedis()->hashSet("ntopng.domains", domain, "1");
}
Expand Down

0 comments on commit 50da04d

Please sign in to comment.