[ovs-dev] [race-fix 1/6] Fix typos in a couple of OpenFlow related comments.
Ben Pfaff
blp at nicira.com
Tue Aug 27 00:10:00 UTC 2013
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
include/openflow/openflow-1.0.h | 2 +-
lib/ofp-util.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h
index f2b90db..ef0a3ce 100644
--- a/include/openflow/openflow-1.0.h
+++ b/include/openflow/openflow-1.0.h
@@ -295,7 +295,7 @@ struct ofp10_match {
OFP_ASSERT(sizeof(struct ofp10_match) == 40);
enum ofp10_flow_mod_flags {
- OFPFF10_EMERG = 1 << 2 /* Ramark this is for emergency. */
+ OFPFF10_EMERG = 1 << 2 /* Part of "emergency flow cache". */
};
/* Flow setup and teardown (controller -> datapath). */
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 62cfd2e..edda338 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -1577,7 +1577,7 @@ ofputil_decode_flow_mod(struct ofputil_flow_mod *fm,
ofpbuf_use_const(&b, oh, ntohs(oh->length));
raw = ofpraw_pull_assert(&b);
if (raw == OFPRAW_OFPT11_FLOW_MOD) {
- /* Standard OpenFlow 1.1 flow_mod. */
+ /* Standard OpenFlow 1.1+ flow_mod. */
const struct ofp11_flow_mod *ofm;
enum ofperr error;
--
1.7.10.4
More information about the dev
mailing list