Skip to content

Commit

Permalink
Add the VNI to the error message in Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <mbuil@suse.com>
  • Loading branch information
manuelbuil committed Dec 18, 2023
1 parent 0179277 commit a3631b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backend/vxlan/vxlan_network_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (nw *network) handleSubnetEvents(batch []lease.Event) {
}

if vxlanAttrs.VNI < 4096 {
log.Error("VNI is required to greater than or equal to 4096 on Windows.")
log.Errorf("VNI is %d but it is required to be greater than or equal to 4096 on Windows.", vxlanAttrs.VNI)
continue
}

Expand Down

0 comments on commit a3631b8

Please sign in to comment.