X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Funixctl.c;h=b495deb80514c81a1a405b49e9da0bbbbeaba7c6;hb=a082dd9b6080cb0913d0818cb4858045db24a011;hp=d8974c9e44503ac0d93d779b50853b019a75fec7;hpb=324f0c59d2bf3a0ad74c93b683b6ceeb1d732304;p=openvswitch diff --git a/lib/unixctl.c b/lib/unixctl.c index d8974c9e..b495deb8 100644 --- a/lib/unixctl.c +++ b/lib/unixctl.c @@ -221,7 +221,7 @@ unixctl_server_create(const char *path, struct unixctl_server **serverp) program_name, (long int) getpid()); } - error = pstream_open(punix_path, &listener); + error = pstream_open(punix_path, &listener, 0); if (error) { ovs_error(error, "could not initialize control socket %s", punix_path); goto exit; @@ -422,7 +422,8 @@ unixctl_client_create(const char *path, struct jsonrpc **client) abs_path = abs_file_name(ovs_rundir(), path); unix_path = xasprintf("unix:%s", abs_path); - error = stream_open_block(stream_open(unix_path, &stream), &stream); + error = stream_open_block(stream_open(unix_path, &stream, DSCP_DEFAULT), + &stream); free(unix_path); free(abs_path);