소스 검색

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;