File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/cisco/trex Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -512,14 +512,14 @@ public boolean captureMonitorRemove(int captureId) {
512512 * Fetch Captured Packets
513513 *
514514 * @param captureId
515- * @param chunkSize
515+ * @param packetLimit amount of packets to capture
516516 * @return CapturedPackets
517517 */
518- public TRexClientResult <CapturedPackets > captureFetchPkts (int captureId , int chunkSize ) {
518+ public TRexClientResult <CapturedPackets > captureFetchPkts (int captureId , int packetLimit ) {
519519 Map <String , Object > payload = new HashMap <>();
520520 payload .put (COMMAND , "fetch" );
521521 payload .put (CAPTURE_ID , captureId );
522- payload .put ("pkt_limit" , chunkSize );
522+ payload .put ("pkt_limit" , packetLimit );
523523 return callMethod (CAPTURE , payload , CapturedPackets .class );
524524 }
525525
You can’t perform that action at this time.
0 commit comments