mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Use unsigned lengths to match libpcap
This commit is contained in:
parent
8f0ebd84ad
commit
c03bdbcc18
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@ typedef struct{
|
|||
|
||||
typedef struct{
|
||||
struct timeval ts;
|
||||
int caplen;
|
||||
int len;
|
||||
u32 caplen;
|
||||
u32 len;
|
||||
const unsigned char *packet; /* caplen bytes */
|
||||
} nsock_pcap;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue