diff options
-rw-r--r-- | collect-wireless-mac.capsman | 2 | ||||
-rw-r--r-- | collect-wireless-mac.local | 2 | ||||
-rw-r--r-- | collect-wireless-mac.template | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index 18f30d6..cddc5fa 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -61,7 +61,7 @@ $ScriptLock $0 false 10; } :local DateTime ([ / system clock get date ] . " " . [ / system clock get time ]); :local Vendor [ $GetMacVendor ($RegVal->"mac-address") ]; - :local Message ("unknown MAC address " . $RegVal->"mac-address" . " (" . $Vendor . ", " . $HostName . ") " . \ + :local Message ("MAC address " . $RegVal->"mac-address" . " (" . $Vendor . ", " . $HostName . ") " . \ "first seen on " . $DateTime . " connected to SSID " . $RegVal->"ssid" . ", interface " . $RegVal->"interface"); $LogPrintExit2 info $0 $Message false; / caps-man access-list add place-before=$PlaceBefore comment=$Message mac-address=($RegVal->"mac-address") disabled=yes; diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local index 1e8086e..7ef6b18 100644 --- a/collect-wireless-mac.local +++ b/collect-wireless-mac.local @@ -62,7 +62,7 @@ $ScriptLock $0 false 10; :set ($RegVal->"ssid") [ / interface wireless get [ find where name=($RegVal->"interface") ] ssid ]; :local DateTime ([ / system clock get date ] . " " . [ / system clock get time ]); :local Vendor [ $GetMacVendor ($RegVal->"mac-address") ]; - :local Message ("unknown MAC address " . $RegVal->"mac-address" . " (" . $Vendor . ", " . $HostName . ") " . \ + :local Message ("MAC address " . $RegVal->"mac-address" . " (" . $Vendor . ", " . $HostName . ") " . \ "first seen on " . $DateTime . " connected to SSID " . $RegVal->"ssid" . ", interface " . $RegVal->"interface"); $LogPrintExit2 info $0 $Message false; / interface wireless access-list add place-before=$PlaceBefore comment=$Message mac-address=($RegVal->"mac-address") disabled=yes; diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template index 18bab89..aa3f5bf 100644 --- a/collect-wireless-mac.template +++ b/collect-wireless-mac.template @@ -63,7 +63,7 @@ $ScriptLock $0 false 10; :set ($RegVal->"ssid") [ / interface wireless get [ find where name=($RegVal->"interface") ] ssid ]; :local DateTime ([ / system clock get date ] . " " . [ / system clock get time ]); :local Vendor [ $GetMacVendor ($RegVal->"mac-address") ]; - :local Message ("unknown MAC address " . $RegVal->"mac-address" . " (" . $Vendor . ", " . $HostName . ") " . \ + :local Message ("MAC address " . $RegVal->"mac-address" . " (" . $Vendor . ", " . $HostName . ") " . \ "first seen on " . $DateTime . " connected to SSID " . $RegVal->"ssid" . ", interface " . $RegVal->"interface"); $LogPrintExit2 info $0 $Message false; / %PATH% access-list add place-before=$PlaceBefore comment=$Message mac-address=($RegVal->"mac-address") disabled=yes; |