Reply
Highlighted
New Member
Posts: 1
Registered: ‎05-23-2014
Kudos: 1

prefix-list bug

./vyatta-cfg/templates/policy/prefix-list/node.tag/rule/node.def:

...

if [ $VAR(./le/@) -ne 32 ] && [ -n "$VAR(./ge/@)" ] && [ $VAR(./le/@) -le $VAR(./ge/@) ]; then
echo "le must be greater than or equal to ge";
exit 1 ;
fi ;

I think it should be -lt instead of -le

prefix-list6 also has this bug.

Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5465
Solutions: 1656
Contributions: 2

Re: prefix-list bug

Good catch and we should get them fixed! Thanks for reporting the issue!

Reply