From 3c82d0682ab7661d218545e9ba06e52f1cf44e43 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 5 Nov 2012 18:26:52 -0800 Subject: [PATCH] netdev-vport: Fix warning due to new GRE type. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- lib/netdev-vport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 07f345cea..5171171d9 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; } -- 2.43.0