aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap.c')
-rw-r--r--pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap.c b/pcap.c
index 43474da..1d7dd49 100644
--- a/pcap.c
+++ b/pcap.c
@@ -162,7 +162,7 @@ void pcap_init(struct ctx *c, int index)
struct tm *tm;
if (pcap_fd != -1)
- close(pcap_fd);
+ return;
if (!*c->pcap)
return;