Acked-by: Sorin Vinturis <[email protected]> -----Original Message----- From: dev [mailto:[email protected]] On Behalf Of Paul Boca Sent: Friday, 15 April, 2016 18:05 To: [email protected] Subject: [ovs-dev] [PATCH 3/3] datapath-windows: Removed always true condition in VXLAN
Instance ID flag must be set to 1 in case of valid VXLAN id Signed-off-by: Paul-Daniel Boca <[email protected]> --- datapath-windows/ovsext/Vxlan.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/datapath-windows/ovsext/Vxlan.c b/datapath-windows/ovsext/Vxlan.c index b89c032..20214cb 100644 --- a/datapath-windows/ovsext/Vxlan.c +++ b/datapath-windows/ovsext/Vxlan.c @@ -304,10 +304,8 @@ OvsDoEncapVxlan(POVS_VPORT_ENTRY vport, vxlanHdr->locallyReplicate = 0; vxlanHdr->flags2 = 0; vxlanHdr->reserved1 = 0; - if (tunKey->flags | OVS_TNL_F_KEY) { - vxlanHdr->vxlanID = VXLAN_TUNNELID_TO_VNI(tunKey->tunnelId); - vxlanHdr->instanceID = 1; - } + vxlanHdr->vxlanID = VXLAN_TUNNELID_TO_VNI(tunKey->tunnelId); + vxlanHdr->instanceID = 1; vxlanHdr->reserved2 = 0; } return STATUS_SUCCESS; -- 2.7.2.windows.1 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
