From: Simon Horman Date: Tue, 20 Nov 2012 01:50:39 +0000 (+0900) Subject: ofp-util: Flow Dump Protocol for OpenFlow 12 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d7785bd5a9e8ce9f21714cc7a7c7dca1086bed0;p=openvswitch 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 --- 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, };