Implements VLANs hash table

This commit is contained in:
Simone Mainardi 2017-04-21 18:44:48 +02:00
parent a07ce941ee
commit 0c40af5863
14 changed files with 432 additions and 68 deletions

View file

@ -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