Code: Select all
:global isIPcurrent;
:if ($isIPcurrent!=$currentIP) do={
:log info "YES"
:set $isIPcurrent $currentIP;
/user set sshuser address=($currentIP,/32,192.168.200.0/24) }
Code: Select all
:global isIPcurrent;
:if ($isIPcurrent!=$currentIP) do={
:log info "YES"
:set $isIPcurrent $currentIP;
/user set sshuser address=($currentIP,/32,192.168.200.0/24) }