1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

Update libpcap to 1.10.5

This commit is contained in:
dmiller
2025-04-14 19:06:54 +00:00
parent 2bc341de52
commit aed27d094e
141 changed files with 12626 additions and 9811 deletions

View File

@@ -19,9 +19,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <pcap-types.h>
@@ -33,6 +31,8 @@
#include <pcap/namedb.h>
#include "thread-local.h"
#ifdef HAVE_OS_PROTO_H
#include "os-proto.h"
#endif
@@ -87,7 +87,7 @@ pcap_next_etherent(FILE *fp)
u_char d;
char *bp;
size_t namesize;
static struct pcap_etherent e;
static thread_local struct pcap_etherent e;
memset((char *)&e, 0, sizeof(e));
for (;;) {