Skip to content

Commit

Permalink
Ping-flood: small correct
Browse files Browse the repository at this point in the history
  • Loading branch information
harp077 committed Apr 18, 2022
1 parent 32ade01 commit 9c9a010
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/my/harp07/PjFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class PjFrame extends javax.swing.JFrame {
public static String currentLAF = "de.muntjak.tinylookandfeel.TinyLookAndFeel";
public static String currentTheme = "lib/themes/Default.theme";
public static List<String> tinyTemes = new ArrayList<>();
public static String zagolovok = "Pure Java Network Tools, v1.0.56, build 18-04-2022";
public static String zagolovok = "Pure Java Network Tools, v1.0.58, build 18-04-2022";
//public static String currentLAF = "org.pushingpixels.substance.api.skin.SubstanceSaharaLookAndFeel";
//public static String currentLAF = "javax.swing.plaf.metal.MetalLookAndFeel";
//public ImageIcon snmpIcon33 = new ImageIcon(getClass().getResource("/mib-tree-3.jpg"));
Expand Down
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 % 13 == 0) {
if (k % 15 == 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 9c9a010

Please sign in to comment.