Skip to content

Commit bef2186

Browse files
committed
fix wrong creation of ASTFCmdKeepaliveMsg in ASTFProgram
Signed-off-by: Leo Ma <[email protected]>
1 parent 270f5c9 commit bef2186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cisco/trex/stateful/api/lowlevel/ASTFProgram.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public void setSendBlocking(boolean block) {
397397
}
398398

399399
public void setKeepAliveMsg(int msec) {
400-
this.fields.get(COMMANDS).add(new ASTFCmdRecvMsg(this.totalRcvBytes, false));
400+
this.fields.get(COMMANDS).add(new ASTFCmdKeepaliveMsg(msec));
401401
}
402402

403403
/**

0 commit comments

Comments
 (0)