Prevents JNI crash cause by unspecified int array in routing api request
Reported as JVpp bug in VPP-559
Change-Id: I5da88e40080f96df2321c5d6ede5965283233c3e
Signed-off-by: Jan Srnicek <[email protected]>
request.classifyTableIndex = classifyTableIndex;
request.isClassify = classifyTableSet;
+ // not used, prevents crash
+ // TODO - remove after VPP-559
+ request.nextHopOutLabelStack = new int[0];
+
+
return request;
}
}
request.isLocal = toByte(isLocal);
request.isUnreach = toByte(isUnreach);
request.isProhibit = toByte(isProhibit);
+ request.nextHopOutLabelStack = new int[0];
return request;
}