[j-nsp] terminate endless loop in SLAX

Phil Shafer phil at juniper.net
Mon Jun 25 12:32:07 EDT 2018


Martin T writes:
>Hi!
>
>Is there a way to terminate endless loop in SLAX? For example, if I
>configure something as simple as that:
>
>match / {
>    <op-script-results> {
>        while ( true() ) {
>            terminate;
>        }

It's processing the terminate, but then it continues to "skip" over
the rest of the entries, thinking that it's a set of nodes instead
of a condition.  So it really, really, quickly loops forever.  Doh!

I'll open a bug report and work on the fix.  There is no workaround.
Apologies for the problem.

Thanks,
 Phil


More information about the juniper-nsp mailing list