From edda5bca61af5e22cdafc98612806f60c7b6f9df Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 30 Dec 2008 11:31:25 -0800 Subject: [PATCH] Restore openflow-netlink.h ABI. Inserting DP_GENL_A_DP_NAME above DP_GENL_A_PORTNAME in commit 660f6596ba31, "First cut at bridge compatibility for vswitchd" forces users not to use any existing builds of userspace utilities, because the numbering of all the netlink attributes for OpenFlow has changed. This change restores the numbering and should make older dpctl, etc. still able to work. --- include/openflow/openflow-netlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openflow/openflow-netlink.h b/include/openflow/openflow-netlink.h index d915ea73..931e6972 100644 --- a/include/openflow/openflow-netlink.h +++ b/include/openflow/openflow-netlink.h @@ -40,10 +40,10 @@ enum { DP_GENL_A_UNSPEC, DP_GENL_A_DP_IDX, /* Datapath device index. */ - DP_GENL_A_DP_NAME, /* Datapath device name. */ DP_GENL_A_PORTNAME, /* Device name for datapath port. */ DP_GENL_A_MC_GROUP, /* Generic netlink multicast group. */ DP_GENL_A_OPENFLOW, /* OpenFlow packet. */ + DP_GENL_A_DP_NAME, /* Datapath device name. */ __DP_GENL_A_MAX, DP_GENL_A_MAX = __DP_GENL_A_MAX - 1 -- 2.30.2