Correct sharedsock BPF fields (#835)

This commit is contained in:
Misha Bragin
2023-05-04 12:28:32 +02:00
committed by GitHub
parent 873b56f856
commit cb12e2da21
5 changed files with 24 additions and 23 deletions

View File

@ -210,7 +210,7 @@ func (e *Engine) Start() error {
e.udpMux = udpMux
log.Infof("using userspace bind mode %s", udpMux.LocalAddr().String())
} else {
rawSock, err := sharedsock.Listen(e.config.WgPort, sharedsock.NewSTUNFilter())
rawSock, err := sharedsock.Listen(e.config.WgPort, sharedsock.NewIncomingSTUNFilter())
if err != nil {
return err
}