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 7db14e2187606273d0cf3eec8372a1e4a560028e..3865fc907fc6e77ea427ffda97ed4c4d529fe799 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);