mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Properly format MAC addresses on change event
git-svn-id: http://www.observium.org/svn/observer/trunk@1115 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
if($clean_mac != $old_mac[0])
|
||||
{
|
||||
if ($debug) { echo "Changed mac address for $ip from $old_mac[0] to $clean_mac\n"; }
|
||||
log_event("MAC change: $ip : " . $old_mac[0] . " -> $clean_mac", $device, "interface", $interface['interface_id']);
|
||||
log_event("MAC change: $ip : " . mac_clean_to_readable($old_mac[0]) . " -> " . mac_clean_to_readable($clean_mac), $device, "interface", $interface['interface_id']);
|
||||
}
|
||||
mysql_query($sql);
|
||||
echo(".");
|
||||
|
||||
Reference in New Issue
Block a user