Add forwarder logic

This commit is contained in:
Zoltan Papp
2023-08-14 11:29:49 +02:00
parent 6c2b364966
commit f185107268
14 changed files with 452 additions and 41 deletions
+1 -1
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()