Use unsigned lengths to match libpcap

This commit is contained in:
dmiller 2026-04-30 22:01:59 +00:00
parent 8f0ebd84ad
commit c03bdbcc18

View file

@ -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;