@@ -318,7 +318,7 @@ public PGIdStatsRPCResult getPgidStats(int[] ids) {
318318 }
319319
320320 public void startTraffic (
321- int portIndex , double duration , boolean force , Map <String , Object > mul , int coreMask ) {
321+ int portIndex , double duration , boolean force , Map <String , Object > mul , long coreMask ) {
322322 startTraffic (portIndex , "" , duration , force , mul , coreMask );
323323 }
324324
@@ -328,7 +328,7 @@ public void startTraffic(
328328 double duration ,
329329 boolean force ,
330330 Map <String , Object > mul ,
331- int coreMask ) {
331+ long coreMask ) {
332332 Map <String , Object > payload = createPayload (portIndex , profileId );
333333 if (coreMask > 0 ) {
334334 payload .put ("core_mask" , coreMask );
@@ -340,7 +340,7 @@ public void startTraffic(
340340 }
341341
342342 public void startAllTraffic (
343- int portIndex , double duration , boolean force , Map <String , Object > mul , int coreMask ) {
343+ int portIndex , double duration , boolean force , Map <String , Object > mul , long coreMask ) {
344344 List <String > profileIds = getProfileIds (portIndex );
345345 for (String profileId : profileIds ) {
346346 startTraffic (portIndex , profileId , duration , force , mul , coreMask );
0 commit comments