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 e9012cd..6b795ff 100644
--- a/pcap.c
+++ b/pcap.c
@@ -185,7 +185,7 @@ void pcap_init(struct ctx *c, int index)
strncpy(c->pcap, name, PATH_MAX);
}
- pcap_fd = open(c->pcap, O_WRONLY | O_CREAT | O_TRUNC | O_DSYNC,
+ pcap_fd = open(c->pcap, O_WRONLY | O_CREAT | O_TRUNC,
S_IRUSR | S_IWUSR);
if (pcap_fd == -1) {
perror("open");