From ddb2f33dae6f62a182049685b4381479e15f29e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8F=A9=E8=BD=A9?= Date: Fri, 15 Mar 2024 15:13:52 +0800 Subject: [PATCH] fix the broadcast in raven0 --- pkg/networkengine/routedriver/vxlan/vxlan.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/networkengine/routedriver/vxlan/vxlan.go b/pkg/networkengine/routedriver/vxlan/vxlan.go index d071751..2390c97 100644 --- a/pkg/networkengine/routedriver/vxlan/vxlan.go +++ b/pkg/networkengine/routedriver/vxlan/vxlan.go @@ -271,9 +271,10 @@ func (vx *vxlan) ensureVxlanLink(network *types.Network, vpnDriverMTUFn func() ( }(vpnDriverMTU, routeDriverMTU), Flags: net.FlagUp, }, - VxlanId: vxlanID, - Age: 300, - Port: vxlanPort, + VxlanId: vxlanID, + Age: 300, + Port: vxlanPort, + Learning: true, } if !vx.isGatewayRole(network) { vxlanLink.Group = net.ParseIP(network.LocalEndpoint.PrivateIP)