Skip to content

Commit 3101eb4

Browse files
committed
updated errobuf to chararray
1 parent fefafbb commit 3101eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcap_binding.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static void OnPacketReady(u_char *s, const struct pcap_pkthdr* pkthdr, const u_c
163163
bpf_u_int32 net;
164164
pcap_t *pcap_handle;
165165
pcap_dumper_t *pcap_dump_handle;
166-
char * errbuf;
166+
char errbuf[PCAP_ERRBUF_SIZE];
167167

168168

169169

0 commit comments

Comments
 (0)