aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rw-r--r--pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap.c b/pcap.c
index 1d7dd49..e9012cd 100644
--- a/pcap.c
+++ b/pcap.c
@@ -186,7 +186,7 @@ void pcap_init(struct ctx *c, int index)
}
pcap_fd = open(c->pcap, O_WRONLY | O_CREAT | O_TRUNC | O_DSYNC,
- S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ S_IRUSR | S_IWUSR);
if (pcap_fd == -1) {
perror("open");
return;