Committed by
Gerrit Code Review
Fixed bug taking dst TCP port argument from CLI
Change-Id: Iafc1ea6bf300321a982e529f2770e450f216b961
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -119,7 +119,7 @@ public abstract class ConnectivityIntentCommand extends AbstractShellCommand { | ... | @@ -119,7 +119,7 @@ public abstract class ConnectivityIntentCommand extends AbstractShellCommand { |
119 | } | 119 | } |
120 | 120 | ||
121 | if (!isNullOrEmpty(dstTcpString)) { | 121 | if (!isNullOrEmpty(dstTcpString)) { |
122 | - selectorBuilder.matchTcpSrc((short) Integer.parseInt(dstTcpString)); | 122 | + selectorBuilder.matchTcpDst((short) Integer.parseInt(dstTcpString)); |
123 | } | 123 | } |
124 | 124 | ||
125 | return selectorBuilder.build(); | 125 | return selectorBuilder.build(); | ... | ... |
-
Please register or login to post a comment