Fix ebpf free call

This commit is contained in:
Zoltan Papp
2023-08-04 10:37:01 +02:00
parent 908a27a047
commit d02b8cbc97

View File

@@ -14,7 +14,7 @@ func (w *Factory) GetProxy() Proxy {
func (w *Factory) Free() error {
if w.ebpfProxy != nil {
return w.ebpfProxy.CloseConn()
return w.ebpfProxy.Free()
}
return nil
}