From 9ac130ad15cdd41538242daa3adff3150da29209 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 17 Nov 2011 10:11:12 -0800 Subject: [PATCH] odp-util: Reorder OVS_KEY_ATTR_* cases for consistency. This matches the order of their definition in openvswitch.h. Reported-by: Justin Pettit --- lib/odp-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index 38215538..171b5fd3 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -86,7 +86,6 @@ ovs_key_attr_to_string(enum ovs_key_attr attr) case OVS_KEY_ATTR_UNSPEC: return "unspec"; case OVS_KEY_ATTR_ENCAP: return "encap"; case OVS_KEY_ATTR_PRIORITY: return "priority"; - case OVS_KEY_ATTR_TUN_ID: return "tun_id"; case OVS_KEY_ATTR_IN_PORT: return "in_port"; case OVS_KEY_ATTR_ETHERNET: return "eth"; case OVS_KEY_ATTR_VLAN: return "vlan"; @@ -99,6 +98,7 @@ ovs_key_attr_to_string(enum ovs_key_attr attr) case OVS_KEY_ATTR_ICMPV6: return "icmpv6"; case OVS_KEY_ATTR_ARP: return "arp"; case OVS_KEY_ATTR_ND: return "nd"; + case OVS_KEY_ATTR_TUN_ID: return "tun_id"; case __OVS_KEY_ATTR_MAX: default: -- 2.30.2