[ovs-dev] [PATCH 1/2] ovs-brcompatd: Add rate-limit argument to rate-limited log call

Justin Pettit jpettit at nicira.com
Wed Mar 3 14:43:36 UTC 2010


---
 vswitchd/ovs-brcompatd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c
index c3d905f..0b0c31b 100644
--- a/vswitchd/ovs-brcompatd.c
+++ b/vswitchd/ovs-brcompatd.c
@@ -734,7 +734,7 @@ handle_port_cmd(struct ovsdb_idl *idl,
                     del_port(br, port_name);
                 }
                 error = commit_txn(txn, true);
-                VLOG_INFO_RL("%s %s %s: %s",
+                VLOG_INFO_RL(&rl, "%s %s %s: %s",
                              cmd_name, br_name, port_name, strerror(error));
             } while (error == EAGAIN);
         }
-- 
1.6.5.5





More information about the dev mailing list