Skip to content

Commit

Permalink
[fix] packet cannot be resent normally by "send" command in popup menu
Browse files Browse the repository at this point in the history
  • Loading branch information
funa-tk committed Dec 20, 2019
1 parent 5cfd04b commit e4f969e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/core/packetproxy/gui/GUIData.java
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public byte[] getData() {
return new byte[]{};
}
try {
tabs.getData();
return tabs.getData();
} catch (Exception e) {
e.printStackTrace();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/core/packetproxy/gui/GUIHistory.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public void actionPerformed(ActionEvent actionEvent) {
if (packet == null) {
return;
}
ResendController.getInstance().resend(packet.getOneShotPacket(packet.getSentData()));
ResendController.getInstance().resend(packet.getOneShotPacket(data));
packet.setResend();
Packets.getInstance().update(packet);
GUIHistory.getInstance().updateRequestOne(GUIHistory.getInstance().getSelectedPacketId());
Expand Down

0 comments on commit e4f969e

Please sign in to comment.