diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-08 12:45:38 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-12 20:37:57 +0100 |
commit | 5638bdcc2d6a6c333c5a11df4946ff88cb3ecb43 (patch) | |
tree | fd9aae9a673faac6b0bdb754707e043a911a0dde /dhcp-lease-comment.wifi.rsc | |
parent | 4ab8dbd774f6d024db493359a7cb345f3bd76c8b (diff) |
dhcp-lease-comment: switch to $LogPrint
Diffstat (limited to 'dhcp-lease-comment.wifi.rsc')
-rw-r--r-- | dhcp-lease-comment.wifi.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp-lease-comment.wifi.rsc b/dhcp-lease-comment.wifi.rsc index 62ed03d..c9c091b 100644 --- a/dhcp-lease-comment.wifi.rsc +++ b/dhcp-lease-comment.wifi.rsc @@ -17,7 +17,7 @@ :do { :local ScriptName [ :jobname ]; - :global LogPrintExit2; + :global LogPrint; :global ScriptLock; :if ([ $ScriptLock $ScriptName ] = false) do={ @@ -32,7 +32,7 @@ :set NewComment [ /interface/wifi/access-list/get $AccessList comment ]; } :if ([ :len $NewComment ] != 0 && $LeaseVal->"comment" != $NewComment) do={ - $LogPrintExit2 info $ScriptName ("Updating comment for DHCP lease " . $LeaseVal->"active-mac-address" . ": " . $NewComment) false; + $LogPrint info $ScriptName ("Updating comment for DHCP lease " . $LeaseVal->"active-mac-address" . ": " . $NewComment); /ip/dhcp-server/lease/set comment=$NewComment $Lease; } } |