Fix/ebpf free (#1057)

* Fix ebpf free call

* Add debug logs
This commit is contained in:
Zoltan Papp
2023-08-07 11:43:32 +02:00
committed by GitHub
parent 973316d194
commit 8eca83f3cb
4 changed files with 4 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ func (l *EBPF) Load(proxyPort, wgPort int) error {
return err
}
// Free free ebpf program
// Free ebpf program
func (l *EBPF) Free() error {
if l.link != nil {
return l.link.Close()