ソースを参照

FUZZ test: Try to find out what port is usable

bel2125 4 年 前
コミット
bf60fc91a4
1 ファイル変更1 行追加1 行削除
  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;