Skip to content

Commit 88d7171

Browse files
Update TRexClient.java
1 parent 9563999 commit 88d7171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ private static Stream build1PktSingleBurstStream(Packet pkt) {
633633
-1);
634634
}
635635

636-
public String resolveIpv6(int portIndex, String dstIp) {
636+
public String resolveIpv6(int portIndex, String dstIp) throws ServiceModeRequiredException {
637637
removeRxQueue(portIndex);
638638
setRxQueue(portIndex, 1000);
639639

@@ -794,7 +794,7 @@ public Map<String, Ipv6Node> scanIPv6(int portIndex) throws ServiceModeRequiredE
794794
}
795795

796796
public EthernetPacket sendIcmpV6Echo(
797-
int portIndex, String dstIp, int icmpId, int icmpSeq, int timeOut) {
797+
int portIndex, String dstIp, int icmpId, int icmpSeq, int timeOut) throws ServiceModeRequiredException {
798798
return new IPv6NeighborDiscoveryService(this)
799799
.sendIcmpV6Echo(portIndex, dstIp, icmpId, icmpSeq, timeOut);
800800
}

0 commit comments

Comments
 (0)