diff options
author | Christian Hesse <mail@eworm.de> | 2021-07-08 21:04:56 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-07-09 10:40:13 +0200 |
commit | 12d34e4a7c40203aadfb536077c3c2b2cd1492d5 (patch) | |
tree | 94162fc7421c2fa8a8bcf1d29d97bd14a68439b3 /collect-wireless-mac.template | |
parent | 4192d30d7ebc3b2bc51663ce48e99198a9036348 (diff) |
collect-wireless-mac: remove 'unknown' from message and comment
This was true, but the mac address is no longer unknown after it was
added to address list in comment.
Diffstat (limited to 'collect-wireless-mac.template')
-rw-r--r-- | collect-wireless-mac.template | 2 |
1 files changed, 1 insertions, 1 deletions
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; |