Dear Colleagues,
I need help on a script. I want to put an IP address without /netmask in a global variable to use later in the same script; the code is:
Why does it need to be global if its in the same script?
:local currentAddress [/ip address get [find interface=“lo”] address]
:set currentAddress [:pick $currentAddress 0 [:find $currentAddress “/” -1]]