From 8d7785bd5a9e8ce9f21714cc7a7c7dca1086bed0 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Tue, 20 Nov 2012 10:50:39 +0900 Subject: [PATCH] ofp-util: Flow Dump Protocol for OpenFlow 12 Allow only OpenFlow 12 as a flow dump protocol. The implementation of set_protocol_for_flow_dump ensures that this will only be selected if an OpenFlow12 connection has been negotiated. Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- lib/ofp-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 1a9d6110..e335ff86 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -588,6 +588,7 @@ static const struct proto_abbrev proto_abbrevs[] = { #define N_PROTO_ABBREVS ARRAY_SIZE(proto_abbrevs) enum ofputil_protocol ofputil_flow_dump_protocols[] = { + OFPUTIL_P_OF12_OXM, OFPUTIL_P_OF10_NXM, OFPUTIL_P_OF10_STD, }; -- 2.30.2