Avoid ebpf lib usage on non Linux

This commit is contained in:
Zoltan Papp
2023-08-16 15:25:14 +02:00
parent 56879517f1
commit 1c84d6b3b6
8 changed files with 41 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ import (
// WGEBPFProxy definition for proxy with EBPF support
type WGEBPFProxy struct {
ebpfManager *ebpf.Manager
ebpfManager ebpf.Manager
lastUsedPort uint16
localWGListenPort int