Add multicast filter

This commit is contained in:
世界 2023-11-01 20:57:42 +08:00
parent b93db9639d
commit 150b116231
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 60 additions and 0 deletions

View file

@ -70,6 +70,7 @@ func (t *GVisor) Start() error {
if err != nil {
return err
}
linkEndpoint = &LinkEndpointFilter{linkEndpoint, t.tun.CreateVectorisedWriter()}
ipStack, err := newGVisorStack(linkEndpoint)
if err != nil {
return err