mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-11 10:58:17 +00:00
Implements VLANs hash table
This commit is contained in:
parent
a07ce941ee
commit
0c40af5863
14 changed files with 432 additions and 68 deletions
|
|
@ -27,11 +27,6 @@ AutonomousSystem::AutonomousSystem(NetworkInterface *_iface, IpAddress *ipa) : G
|
|||
asname = NULL;
|
||||
ntop->getGeolocation()->getAS(ipa, &asn, &asname);
|
||||
|
||||
if(iface->getTimeLastPktRcvd() > 0)
|
||||
first_seen = last_seen = iface->getTimeLastPktRcvd();
|
||||
else
|
||||
first_seen = last_seen = time(NULL);
|
||||
|
||||
#ifdef AS_DEBUG
|
||||
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Created Autonomous System %u", asn);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue