From a3631b84f28306374bc1bb09787aa248822c8d21 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Thu, 14 Dec 2023 12:50:51 +0100 Subject: [PATCH] Add the VNI to the error message in Windows Signed-off-by: Manuel Buil --- pkg/backend/vxlan/vxlan_network_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backend/vxlan/vxlan_network_windows.go b/pkg/backend/vxlan/vxlan_network_windows.go index 627cbc33d0..74cb70b7c6 100644 --- a/pkg/backend/vxlan/vxlan_network_windows.go +++ b/pkg/backend/vxlan/vxlan_network_windows.go @@ -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 }