summaryrefslogtreecommitdiff
path: root/testprogs/filtertest.c
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/filtertest.c')
-rw-r--r--testprogs/filtertest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testprogs/filtertest.c b/testprogs/filtertest.c
index 172997556402..9d4034212b01 100644
--- a/testprogs/filtertest.c
+++ b/testprogs/filtertest.c
@@ -356,6 +356,9 @@ main(int argc, char **argv)
free(cmdbuf);
pcap_freecode (&fcode);
pcap_close(pd);
+#ifdef _WIN32
+ WSACleanup();
+#endif
exit(0);
}