Explorar o código

FUZZ test: Try to find out what port is usable

bel2125 %!s(int64=4) %!d(string=hai) anos
pai
achega
bf60fc91a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;