I have a trouble in simple script:
Code: Select all
local peer [ip ipsec remote-peers get value-name=remote-address number=0]
:log info $peer
I noticed thet when i reload router and run script from winbox it works well, but when i flush ipsec peers and reconnect, the script does the same.