Allow the port to be updated if it the type is only: NdisSwitchPortTypeSynthetic
Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> --- datapath-windows/ovsext/Vport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath-windows/ovsext/Vport.c b/datapath-windows/ovsext/Vport.c index 70bef3d..9ba8acd 100644 --- a/datapath-windows/ovsext/Vport.c +++ b/datapath-windows/ovsext/Vport.c @@ -167,8 +167,8 @@ HvUpdatePort(POVS_SWITCH_CONTEXT switchContext, * Update properties only for NETDEV ports for supprting PS script * We don't allow changing the names of the internal or external ports */ - if (vport == NULL || ( vport->portType != NdisSwitchPortTypeSynthetic) || - ( vport->portType != NdisSwitchPortTypeEmulated)) { + if (vport == NULL || (( vport->portType != NdisSwitchPortTypeSynthetic) && + ( vport->portType != NdisSwitchPortTypeEmulated))) { goto update_port_done; } -- 1.9.5.msysgit.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev