fix formatting of debug message when zero entries are archived during macsuck

This commit is contained in:
Eric A. Miller
2014-01-20 22:02:00 -05:00
parent da56cb9a09
commit 053b0a65fa

View File

@@ -124,7 +124,7 @@ sub do_macsuck {
time_last => { '<' => \$now }, time_last => { '<' => \$now },
})->update({ active => \'false' }); })->update({ active => \'false' });
debug sprintf ' [%s] macsuck - removed %s fwd table entries to archive', debug sprintf ' [%s] macsuck - removed %d fwd table entries to archive',
$ip, $archived; $ip, $archived;
$device->update({last_macsuck => \$now}); $device->update({last_macsuck => \$now});