mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
Update libpcap to 1.10.5
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <pcap-types.h>
|
||||
|
||||
@@ -44,6 +42,8 @@
|
||||
|
||||
#include "pcap-int.h"
|
||||
|
||||
#include "thread-local.h"
|
||||
|
||||
#ifdef HAVE_OS_PROTO_H
|
||||
#include "os-proto.h"
|
||||
#endif
|
||||
@@ -130,7 +130,7 @@ char *
|
||||
bpf_image(const struct bpf_insn *p, int n)
|
||||
{
|
||||
const char *op;
|
||||
static char image[256];
|
||||
static thread_local char image[256];
|
||||
char operand_buf[64];
|
||||
const char *operand;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user