From: Ethan Jackson Date: Tue, 6 Nov 2012 02:26:52 +0000 (-0800) Subject: netdev-vport: Fix warning due to new GRE type. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff_plain;h=3c82d0682ab7661d218545e9ba06e52f1cf44e43 netdev-vport: Fix warning due to new GRE type. 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 --- diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 07f345ce..5171171d 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; }