[ovs-dev] [PATCH 2/2] ofp-util: Fix stale comment.

Ethan Jackson ethan at nicira.com
Wed May 16 15:25:33 UTC 2012


'flow_mod_table_id' is no longer an argument to
ofputil_encode_flow_mod(), its information is now encoded in the
'protocol' argument.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
 lib/ofp-util.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 501ccab..90124ec 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -1461,10 +1461,7 @@ ofputil_decode_flow_mod(struct ofputil_flow_mod *fm,
 }
 
 /* Converts 'fm' into an OFPT_FLOW_MOD or NXT_FLOW_MOD message according to
- * 'protocol' and returns the message.
- *
- * 'flow_mod_table_id' should be true if the NXT_FLOW_MOD_TABLE_ID extension is
- * enabled, false otherwise. */
+ * 'protocol' and returns the message. */
 struct ofpbuf *
 ofputil_encode_flow_mod(const struct ofputil_flow_mod *fm,
                         enum ofputil_protocol protocol)
-- 
1.7.10.1




More information about the dev mailing list