Skip to content

Commit

Permalink
code optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
harp077 committed Apr 18, 2022
1 parent 3037f3a commit 404fc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/my/harp07/PjPingFlood.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void runPingFlood(String ip, int timeout, JTextArea ta) {
}
});
end = System.currentTimeMillis();
if (k % 15 == 0) {
if (k % 13 == 0) {
ta.append("\n-> " + 1000 * (M + N) / (end - run) + " pps");
} else {
ta.append(", -> " + 1000 * (M + N) / (end - run) + " pps");
Expand Down

0 comments on commit 404fc4f

Please sign in to comment.