any device completing macsuck/arpnip must have that layer

This commit is contained in:
Oliver Gorwits
2019-08-25 18:38:11 +01:00
parent a11bce7863
commit 8b010d4023
2 changed files with 8 additions and 2 deletions

View File

@@ -92,7 +92,10 @@ register_worker({ phase => 'main', driver => 'snmp' }, sub {
debug sprintf ' [%s] macsuck - removed %d fwd table entries to archive',
$device->ip, $archived;
$device->update({last_macsuck => \$now});
$device->update({
last_macsuck => \$now,
layers => \[q{overlay(layers placing '1' from 7 for 1)}],
});
return Status->done("Ended macsuck for $device");
});