Skip to content

Commit

Permalink
Fix Gratuitous ARPs critical error on ipv6
Browse files Browse the repository at this point in the history
In the case where the Gratuitous ARPs send function failed
we failed the all CNI create and revert the configuration

Signed-off-by: Sebastian Sch <[email protected]>
  • Loading branch information
SchSeba committed Jul 29, 2024
1 parent 3478b67 commit 2f64420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sriov/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func cmdAdd(args *skel.CmdArgs) error {
hasCarrier := utils.WaitForCarrier(args.IfName, 200*time.Millisecond)

/* The error is ignored here because enabling this feature is only a performance enhancement. */
err = utils.AnnounceIPs(args.IfName, result.IPs)
err := utils.AnnounceIPs(args.IfName, result.IPs)

logging.Debug("announcing IPs", "hasCarrier", hasCarrier, "IPs", result.IPs, "announceError", err)
return nil
Expand Down

0 comments on commit 2f64420

Please sign in to comment.