diff mbox

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

Message ID 1494958882-26312-1-git-send-email-zhouhan@gmail.com
State Accepted
Headers show

Commit Message

Han Zhou May 16, 2017, 6:21 p.m. UTC
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@gmail.com>
---
 ovn/controller/ofctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff May 31, 2017, 9:56 p.m. UTC | #1
On Tue, May 16, 2017 at 11:21:22AM -0700, Han Zhou wrote:
> 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@gmail.com>

Thanks!  I applied this to master.
diff mbox

Patch

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