projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hugepages: rework
[collectd.git]
/
src
/
pf.c
diff --git
a/src/pf.c
b/src/pf.c
index
d11bd8a
..
225d536
100644
(file)
--- a/
src/pf.c
+++ b/
src/pf.c
@@
-29,6
+29,9
@@
#if HAVE_NET_IF_H
# include <net/if.h>
#endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#include <net/pfvar.h>
@@
-103,7
+106,6
@@
static int pf_read (void)
}
close (fd);
- fd = -1;
if (!state.running)
{