projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e334e4e
)
rconn: Log when a connection attempt starts.
author
Ben Pfaff
<blp@nicira.com>
Mon, 14 Jul 2008 20:31:42 +0000
(13:31 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 18 Jul 2008 21:07:03 +0000
(14:07 -0700)
This makes it easier to see what happened by viewing the log.
lib/rconn.c
patch
|
blob
|
history
diff --git
a/lib/rconn.c
b/lib/rconn.c
index 1668ad9906cdf98e9a31724e0593f0e523e3ab38..db21b6c5a795ce875e31cb452d35db61f3f7dfd3 100644
(file)
--- a/
lib/rconn.c
+++ b/
lib/rconn.c
@@
-132,6
+132,7
@@
rconn_run(struct rconn *rc)
if (rc->reliable && time(0) >= rc->backoff_deadline) {
int retval;
+ VLOG_WARN("%s: connecting...", rc->name);
retval = vconn_open(rc->name, &rc->vconn);
if (!retval) {
rc->backoff_deadline = time(0) + rc->backoff;