diff mbox series

[ovs-dev] meter: Correct comment describing parse_ofp_meter_mod_str().

Message ID 1529052290-24580-1-git-send-email-jpettit@ovn.org
State Accepted
Headers show
Series [ovs-dev] meter: Correct comment describing parse_ofp_meter_mod_str(). | expand

Commit Message

Justin Pettit June 15, 2018, 8:44 a.m. UTC
Signed-off-by: Justin Pettit <jpettit@ovn.org>
---
 lib/ofp-meter.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Ben Pfaff June 15, 2018, 6:13 p.m. UTC | #1
On Fri, Jun 15, 2018 at 01:44:50AM -0700, Justin Pettit wrote:
> Signed-off-by: Justin Pettit <jpettit@ovn.org>

Acked-by: Ben Pfaff <blp@ovn.org>
Justin Pettit June 16, 2018, 7:30 a.m. UTC | #2
> On Jun 15, 2018, at 8:13 PM, Ben Pfaff <blp@ovn.org> wrote:
> 
> On Fri, Jun 15, 2018 at 01:44:50AM -0700, Justin Pettit wrote:
>> Signed-off-by: Justin Pettit <jpettit@ovn.org>
> 
> Acked-by: Ben Pfaff <blp@ovn.org>

Thanks.  I pushed this to master.

--Justin
diff mbox series

Patch

diff --git a/lib/ofp-meter.c b/lib/ofp-meter.c
index 4f77f508d396..de6f2b3a0fc2 100644
--- a/lib/ofp-meter.c
+++ b/lib/ofp-meter.c
@@ -603,12 +603,13 @@  parse_ofp_meter_mod_str__(struct ofputil_meter_mod *mm, char *string,
     return NULL;
 }
 
-/* Convert 'str_' (as described in the Flow Syntax section of the ovs-ofctl man
- * page) into 'mm' for sending the specified meter_mod 'command' to a switch.
+/* Convert 'str_' (as described in the Meter Syntax section of the
+ * ovs-ofctl man page) into 'mm' for sending the specified meter_mod
+ * 'command' to a switch.
  *
  * Returns NULL if successful, otherwise a malloc()'d string describing the
  * error.  The caller is responsible for freeing the returned string.
- * If successful, 'mm->meter.bands' must be free()d by the caller. */
+ * If successful, 'mm->meter.bands' must be free()'d by the caller. */
 char * OVS_WARN_UNUSED_RESULT
 parse_ofp_meter_mod_str(struct ofputil_meter_mod *mm, const char *str_,
                         int command, enum ofputil_protocol *usable_protocols)