Added proc socket and text proto rpc
This commit is contained in:
parent
68371d4fc5
commit
94c6bd9c49
9 changed files with 214 additions and 290 deletions
|
|
@ -154,7 +154,7 @@ clicon_rpc_msg(clicon_handle h,
|
|||
/* Create a socket and connect to it, either UNIX, IPv4 or IPv6 per config options */
|
||||
if (clicon_rpc_connect(h, &s) < 0)
|
||||
goto done;
|
||||
if (clicon_rpc(s, msg, &retdata) < 0)
|
||||
if (clicon_rpc(s, s, msg, &retdata) < 0)
|
||||
goto done;
|
||||
|
||||
clicon_debug(1, "%s retdata:%s", __FUNCTION__, retdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue