aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index 91cf0abc..93ae373e 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -3017,7 +3017,7 @@ activate_new(pcap_t *handle)
struct packet_mreq mr;
#ifdef SO_BPF_EXTENSIONS
int bpf_extensions;
- socklen_t len;
+ socklen_t len = sizeof(bpf_extensions);
#endif
/*