From: Ben Pfaff Date: Thu, 17 Nov 2011 18:11:12 +0000 (-0800) Subject: odp-util: Reorder OVS_KEY_ATTR_* cases for consistency. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac130ad15cdd41538242daa3adff3150da29209;p=openvswitch odp-util: Reorder OVS_KEY_ATTR_* cases for consistency. This matches the order of their definition in openvswitch.h. Reported-by: Justin Pettit --- 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: