rc10 Bug?

On latest rc10 if I run the following command from terminal it crashes the console. I have tried this on several rc10 systems and the same effect happens

/interface
:put [find type=ether]

I cant see any reason why this would cause a crash on the console rather than simply dumping an error. I am using MiniRouter RB150 using rc10 for the tests.

me too - x86. send it to support I guess.

[master@cip-home] /interface> :put [find type=ether]

Console has crashed; please log in again.

532r5 - same problem

this will be solved

Thanks for feedback.

I think I have found two other script commands that crash the console … working on them to see if I can replicate them and on different devices.

In case of 3.0RC9 worked fine the following command in terminal:
/ queue simple remove [/ queue simple find interface=all]

but in case of 3.0RC10 i have got this error message:
ambiguous value of interface, more than one possible value matches input

Is it a 3.0RC10 bug too?

this is error in your script

in change log you could read that no in find clause you have to use string in quotes

/ queue simple remove [/ queue simple find interface=all]

this will look for variable called all and when it does not find any variable with such a name it will be substitured with “” (nothing) and then report you what you have,

instead you have to use quotation resulting in

/ queue simple remove [/ queue simple find interface="all"]

so, if you use string after find or find where clause it will be considered to be a variable name not the string if the variable does not exist.

actually this is more like any other scripting language where you have to put string in quotation to use it as a string.

please note this change, as everywhere you use find you have to make changes in the script code

also setting code like this will work

:global all all
/ queue simple remove [/ queue simple find interface=all]

that way you create global variable all that contains value of string all and when you set it in your script it can resolve to the value of variable all to the string value all.

Thank you!

So why not continue to use to $var format ? Just seems odd to change something that will break every script out there.

because when you get used to it you will make less errors out of concept - i can write that that way and it will work, but some other place you cannot, and you get confused.

pppoe server problem are still here… server is created and everything seems ok but users can’t login… sometimes few users get connection but traffic is ZERO.