Skip to content

Commit 47508bc

Browse files
committed
Uplift api version
1 parent 5b78462 commit 47508bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cisco/trex/stateless/TRexClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected void serverAPISync() throws TRexConnectionException {
126126
if (matcher.find()) {
127127
majorVersion = Integer.parseInt(matcher.group(1));
128128
minorVersion = Integer.parseInt(matcher.group(2));
129-
if (!TRexClientUtil.isVersionCorrect(TRexServerMode.ASTF, majorVersion, minorVersion)) {
129+
if (!TRexClientUtil.isVersionCorrect(TRexServerMode.STL, majorVersion, minorVersion)) {
130130
new TRexConnectionException(
131131
"Unable to connect to TRex server. Required API version is "
132132
+ majorVersion

0 commit comments

Comments
 (0)