This patch fixes the following warning caused by a switch case
which was not handled.

lib/netdev-vport.c:144:5: error: enumeration value
‘OVS_VPORT_TYPE_FT_GRE’ not handled in switch

Signed-off-by: Ethan Jackson <[email protected]>
---
 lib/netdev-vport.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 07f345c..5171171 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport.c
@@ -173,6 +173,7 @@ netdev_vport_get_netdev_type(const struct dpif_linux_vport 
*vport)
     case OVS_VPORT_TYPE_CAPWAP:
         return "capwap";
 
+    case OVS_VPORT_TYPE_FT_GRE:
     case __OVS_VPORT_TYPE_MAX:
         break;
     }
-- 
1.7.9.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to