mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-14 16:12:10 +00:00
Implemented toggle for ARP/IP reassignments alerts
This commit is contained in:
parent
6bb4687e86
commit
2ae3b42d77
8 changed files with 25 additions and 6 deletions
|
|
@ -6744,6 +6744,9 @@ NIndexFlowDB* NetworkInterface::getNindex() {
|
|||
/* *************************************** */
|
||||
|
||||
void NetworkInterface::checkMacIPAssociation(bool triggerEvent, u_char *_mac, u_int32_t ipv4) {
|
||||
if(!ntop->getPrefs()->are_ip_reassignment_alerts_enabled())
|
||||
return;
|
||||
|
||||
if(ipv4 != 0) {
|
||||
std::map<u_int32_t, u_int64_t>::iterator it;
|
||||
u_int64_t mac = Utils::mac2int(_mac);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue