[ovs-dev] [PATCH] ovn-controller: Fix a wrong comment.

Han Zhou zhouhan at gmail.com
Tue May 16 18:21:22 UTC 2017


Flows are sent to switch by ofctrl_put() instead of ofctrl_run(), so
fix the comment which was misleading.

Signed-off-by: Han Zhou <zhouhan at gmail.com>
---
 ovn/controller/ofctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovn/controller/ofctrl.c b/ovn/controller/ofctrl.c
index 417fdc9..5762678 100644
--- a/ovn/controller/ofctrl.c
+++ b/ovn/controller/ofctrl.c
@@ -604,7 +604,7 @@ ofctrl_recv(const struct ofp_header *oh, enum ofptype type)
  * OpenFlow 'cookie'.  The caller retains ownership of 'match' and 'actions'.
  *
  * This just assembles the desired flow table in memory.  Nothing is actually
- * sent to the switch until a later call to ofctrl_run().
+ * sent to the switch until a later call to ofctrl_put().
  *
  * The caller should initialize its own hmap to hold the flows. */
 void
-- 
2.1.0



More information about the dev mailing list