rconn: Improve log message when peer closes connection.
authorBen Pfaff <blp@nicira.com>
Mon, 13 Oct 2008 20:51:50 +0000 (13:51 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 13 Oct 2008 20:51:50 +0000 (13:51 -0700)
lib/rconn.c

index 7db14e2..3865fc9 100644 (file)
@@ -727,7 +727,7 @@ disconnect(struct rconn *rc, int error)
                           rc->name, strerror(error));
             } else if (error == EOF) {
                 if (rc->reliable) {
-                    VLOG_WARN("%s: connection closed", rc->name);
+                    VLOG_WARN("%s: connection closed by peer", rc->name);
                 }
             } else {
                 VLOG_WARN("%s: connection dropped", rc->name);