From 1828ae514071007c9a0180889151ce9b00aae8fc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 26 Aug 2013 15:28:46 -0700 Subject: [PATCH] Fix typos in a couple of OpenFlow related comments. Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- 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 f2b90db33..ef0a3ce73 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 62cfd2ed4..edda3389c 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; -- 2.47.0