Skip to content

Commit

Permalink
fix (#4553)
Browse files Browse the repository at this point in the history
Signed-off-by: clyi <[email protected]>
  • Loading branch information
changluyi committed Sep 23, 2024
1 parent ff0e85b commit 3130464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/ovs_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ func configureNic(link, ip string, macAddr net.HardwareAddr, mtu int, detectIPCo
ipDelMap[ipAddr.IPNet.String()] = ipAddr
}

if ipv6LinkLocalOn && !isIPv6LinkLocalExist && util.CheckProtocol(ip) == kubeovnv1.ProtocolIPv6 {
if ipv6LinkLocalOn && !isIPv6LinkLocalExist && (util.CheckProtocol(ip) == kubeovnv1.ProtocolIPv6 || util.CheckProtocol(ip) == kubeovnv1.ProtocolDual) {
linkLocal, err := macToLinkLocalIPv6(macAddr)
if err != nil {
return fmt.Errorf("failed to generate link-local address: %v", err)
Expand Down

0 comments on commit 3130464

Please sign in to comment.