Commit 8058ccf8 authored by garciay's avatar garciay
Browse files

Bug fix into 'for' loop

parent 47156a57
Loading
Loading
Loading
Loading
+434 −434
Original line number Diff line number Diff line
@@ -484,7 +484,7 @@ module AtsImsIot_TestConfiguration {
			}
		};
		
		for(var integer i := 0; i <= lengthof(p_product.monitorInterfaces); i := i + 1) {
		for(var integer i := 0; i < lengthof(p_product.monitorInterfaces); i := i + 1) { // YANN: <= instead of <
			if(p_product.monitorInterfaces[i].interfaceName == p_interfaceName)	{
				return p_product.monitorInterfaces[i].interfaceInfo;
			}