@jaclaz
What @diamuxin wrote is,
"/ip/address/get $id address" returns string value like "192.168.88.1/24",
so we have to strip netmask "/24" before adding it to /ip/firewall/address-list (if we don't want to add network address to it).
And your indication is an another issue, certainly it's a potential bug.
Of course it's not good practice, but if the interface has exactly one address and we have confidence about it, it's not a big matter, I think.
What @diamuxin wrote is,
"/ip/address/get $id address" returns string value like "192.168.88.1/24",
so we have to strip netmask "/24" before adding it to /ip/firewall/address-list (if we don't want to add network address to it).
And your indication is an another issue, certainly it's a potential bug.
Of course it's not good practice, but if the interface has exactly one address and we have confidence about it, it's not a big matter, I think.
Statistics: Posted by trkk — Wed Mar 13, 2024 2:36 pm