04.12.2020, 07:35
Each parameter must be specified as a separate string in =param=value format.
Code:
res, err = mt:send('/ip/address/add', '=interface=ether2-master', '=address=192.168.0.1/24', '=disabled=no')
if res then
res, err = mt:read()
log(res, err)
else
log('send failed', tostring(err))
end