diff options
author | Christian Hesse <mail@eworm.de> | 2021-04-27 21:39:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-04-28 13:58:37 +0200 |
commit | 714a679402ffaa009c74ae5c0d30c2f995e83f57 (patch) | |
tree | 0a52382517544acebad0e63da427bea28fb9dad1 /collect-wireless-mac.capsman | |
parent | a9b932d67e294db78555a1473b53e2a23e5632ca (diff) |
collect-wireless-mac: pass origin to $SendNotification2
Diffstat (limited to 'collect-wireless-mac.capsman')
-rw-r--r-- | collect-wireless-mac.capsman | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index 92ac9d1..4cf8649 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -56,7 +56,8 @@ $ScriptLock $0; "first seen on " . $DateTime . " connected to SSID " . $Ssid . ", interface " . $Interface); $LogPrintExit2 info $0 $Message false; / caps-man access-list add place-before=$PlaceBefore comment=$Message mac-address=$Mac disabled=yes; - $SendNotification2 ({ subject=([ $SymbolForNotification "mobile-phone" ] . $Mac . " connected to " . $Ssid); \ + $SendNotification2 ({ origin=$0; \ + subject=([ $SymbolForNotification "mobile-phone" ] . $Mac . " connected to " . $Ssid); \ message=("A device with unknown MAC address connected to " . $Ssid . " on " . $Identity . ".\n\n" . \ "Controller: " . $Identity . "\n" . \ "Interface: " . $Interface . "\n" . \ |