Add forwarder logic

This commit is contained in:
Zoltan Papp
2023-07-26 13:43:44 +02:00
parent 48098c994d
commit 337020bf59
14 changed files with 452 additions and 41 deletions

View File

@@ -112,7 +112,7 @@ func (w *WGIface) Close() error {
return w.tun.Close()
}
// SetFilter sets packet filters for the userspace impelemntation
// SetFilter sets packet filters for the userspace implementation
func (w *WGIface) SetFilter(filter PacketFilter) error {
w.mu.Lock()
defer w.mu.Unlock()