aports/community/wireshark/fix-udpdump.patch
Leonardo Arena 172c0bd3e6 community/wireshark: security upgrade to 2.4.2
(CVE-2017-15191, CVE-2017-15192, CVE-2017-15193)
(CVE-2017-13765, CVE-2017-13766, CVE-2017-13767)

fixes #8013 #7910
2017-10-23 10:18:42 +00:00

14 lines
257 B
Diff

--- a/extcap/udpdump.c
+++ b/extcap/udpdump.c
@@ -56,6 +56,10 @@
#include <wsutil/inet_addr.h>
#include <wsutil/filesystem.h>
+#ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+#endif
+
#define PCAP_SNAPLEN 0xffff
#define UDPDUMP_DEFAULT_PORT 5555