Procházet zdrojové kódy

FUZZ test: Try to find out what port is usable

bel2125 před 4 roky
rodič
revize
bf60fc91a4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      fuzztest/fuzzmain.c

+ 1 - 1
fuzztest/fuzzmain.c

@@ -27,7 +27,7 @@ typedef int SOCKET;
 #define PORT_STR_HTTPHTTPS "8081,8443s"
 
 
-#define TESTabort() {fprintf(stderr, "!!! aborting fuzz test in line %u !!!", __LINE__); abort();}
+#define TESTabort() {fprintf(stderr, "!!! aborting fuzz test in line %u !!!", __LINE__); system("netstat -taupn"); abort();}
 
 
 static uint64_t call_count = 0;