index
:
passt
Plug A Simple Socket Transport
about
git
code
bugs
lists
chat
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
pcap.c
2
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;