packages/libs/libpfring/patches/0003-fix-strncpy.patch
BangLang Huang bc01c8eae6 libpfring: add new package
PF_RING is a high speed packet capture library that turns a commodity PC into an efficient and cheap
network measurement box suitable for both packet and active traffic analysis and manipulation.
Moreover, PF_RING opens totally new markets as it enables the creation of efficient application such as
traffic balancers or packet filters in a matter of lines of codes.

github : https://github.com/ntop/pf_ring
official : https://www.ntop.org

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
[rename kmod-pfring to kmod-pf-ring]
2018-10-02 20:43:48 +03:00

10 lines
216 B
Diff

--- a/userland/lib/pfring_mod.c
+++ b/userland/lib/pfring_mod.c
@@ -24,6 +24,7 @@
#include <ifaddrs.h>
#ifdef ENABLE_BPF
+#include <string.h>
#include <pcap/pcap.h>
#include <pcap/bpf.h>
#include <pcap-int.h>