I want to log current IP to an address-list then redail, if the new IP match any of the old IPs then redail again.
Now I can easily add IP to address-list with
Code: Select all
:local OLDIP [/ip address get [find interface=$PPPoE] address];
/ip/firewall/address-list add list=old-ip address=$OLDIP;
Any help will be appreciated.