From de5b0e9d4a194ef0f4c1c1ed5d69067411186bbf Mon Sep 17 00:00:00 2001 From: Martynas Pumputis Date: Wed, 5 Jul 2023 10:31:09 +0200 Subject: [PATCH] Move libpcap into internal/ Signed-off-by: Martynas Pumputis --- {libpcap => internal/libpcap}/compile.go | 0 {libpcap => internal/libpcap}/inject.go | 0 main.go | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename {libpcap => internal/libpcap}/compile.go (100%) rename {libpcap => internal/libpcap}/inject.go (100%) diff --git a/libpcap/compile.go b/internal/libpcap/compile.go similarity index 100% rename from libpcap/compile.go rename to internal/libpcap/compile.go diff --git a/libpcap/inject.go b/internal/libpcap/inject.go similarity index 100% rename from libpcap/inject.go rename to internal/libpcap/inject.go diff --git a/main.go b/main.go index 184196ef..54d9970c 100644 --- a/main.go +++ b/main.go @@ -21,8 +21,8 @@ import ( "github.com/cilium/ebpf/rlimit" "golang.org/x/sys/unix" + "github.com/cilium/pwru/internal/libpcap" "github.com/cilium/pwru/internal/pwru" - "github.com/cilium/pwru/libpcap" ) func main() {