Skip to content

Commit

Permalink
Merge pull request #306 from SchSeba/fix_error_usage
Browse files Browse the repository at this point in the history
Fix Gratuitous ARPs critical error on ipv6
  • Loading branch information
SchSeba authored Jul 30, 2024
2 parents 3478b67 + 2f64420 commit 16795cd
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 16795cd

Please sign in to comment.