diff options
author | Justin Pettit <jpettit@ovn.org> | 2018-06-13 20:33:55 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@ovn.org> | 2018-06-16 00:13:55 -0700 |
commit | 5d2988f7108af220732b6424e47e0d67c699a44a (patch) | |
tree | bbbccc270a1e10a95081d40a2fc719bb6cf8ea5b /lib | |
parent | 079ace1fa41c4f583795d517506a237dc3f837a2 (diff) | |
download | openvswitch-5d2988f7108af220732b6424e47e0d67c699a44a.tar.gz |
meter: Correct comment describing parse_ofp_meter_mod_str().
Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ofp-meter.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ofp-meter.c b/lib/ofp-meter.c index 4f77f508d..de6f2b3a0 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) |