浏览代码

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;