X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstream-unix.c;h=6ed7648bc633975e4d24698e0e62215f1ce8b7d8;hb=eb857b4824d2a62e1cc1b85c30a3da007d4942c9;hp=689dcf1cfaaeba79abf825b405f71927eb21be24;hpb=5ca92d1d5dc0d8dba9ed554444cd0ae00a43209f;p=sliver-openvswitch.git diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 689dcf1cf..6ed7648bc 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -16,7 +16,6 @@ #include #include "stream.h" -#include #include #include #include @@ -48,7 +47,7 @@ unix_open(const char *name, char *suffix, struct stream **streamp, fd = make_unix_socket(SOCK_STREAM, true, NULL, connect_path); if (fd < 0) { - VLOG_ERR("%s: connection failed (%s)", connect_path, strerror(-fd)); + VLOG_DBG("%s: connection failed (%s)", connect_path, strerror(-fd)); return -fd; } @@ -92,7 +91,7 @@ punix_open(const char *name OVS_UNUSED, char *suffix, return error; } - return new_fd_pstream(name, fd, punix_accept, + return new_fd_pstream(name, fd, punix_accept, NULL, xstrdup(suffix), pstreamp); } @@ -118,6 +117,7 @@ const struct pstream_class punix_pstream_class = { punix_open, NULL, NULL, - NULL + NULL, + NULL, };